Thanks for your inquiry. Please ZIP and attach your input Word and Excel documents here for our reference. We will then provide you more information on this along with code.
Thanks for sharing the document. The FieldDdeAuto class implements the DDEAUTO field. You can read the DDEAUTO field using Aspose.Words. Please check the following code example. Hope this helps you.
Document document = new Document(MyDir + "DDEAUTO.docx");
foreach (Field field in document.Range.Fields)
{
if (field.Type == FieldType.FieldDDEAuto)
{
Console.WriteLine(field.GetFieldCode());
Console.WriteLine(field.Result);
}
}
Its my bad, i was checking in Aspose.Pdf class. I found that Range class in Aspose.Word in the mean time can you please give me the solution of Excel file?
Please let us know the step by step instructions that you follow in Microsoft Excel to achieve this. It will help us look into this issue more closely and precisely and we will be able to provide you a sample code. Thanks for your cooperation in this regard and have a good day.
There is something different in your Excel file. When I put the text
=cmd|’ /C calc’!A0
in cell A1, nothing happens. But when I open your Excel file i.e. ExcelRunCalc1.xlsx, I saw the text in cell A1 and it starts the application i.e. Calculator.
I want to know how do you create such an Excel file. Please let us know the steps to create it so that we look into this issue closely and log it in our database for a fix.
We were able to observe this issue and logged it in our database for investigation and for a fix. Once, the issue is resolved or we have some other news for you, we will update you asap.
This issue has been logged as
CELLSNET-45888 - =cmd|’ /c calc’!A0 is not present inside Worksheets.ExternalLinks
C#
Workbook wb = new Workbook("cmd.xlsx");
Worksheet ws = wb.Worksheets[0];
//Not found inside this collection
var o = wb.Worksheets.ExternalLinks;
Cell.Formula - need to visit each cell in entire sheet to validate that formula right?
Do you have any other solution? in sheet level or work book itself to find out that type of formula?
One more thing…how to detect macro in word document?
this is the code and “macrofile.docx” has macro
Aspose.Words.Document document = new Aspose.Words.Document(“macrofile.docx”);
bool macro = document.HasMacros;
the file has macro…but document.HasMacros properties is false.
this link Document.HasMacros | Aspose.Words for .NET says only for Aspose.Words (in Aspose.Words.dll) Version: 18.2. Is this correct? Downloaded 18.2.0.0 but still showing false.
Please advise. (we are using Aspose.Words version 17.8.0.0)
This is to inform you that we have fixed your issue CELLSNET-45888 now. We will soon provide the fix after performing QA and including other enhancements and fixes.
Since you are not the owner of the thread, so you might not download the attachment. If you need to download Aspose.Cells version(s), you may download it from the Downloads section:
Let us know if we can be of any further help.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
Enables storage, such as cookies, related to analytics.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.
Sets consent for personalized advertising.
Cookie Notice
To provide you with the best experience, we use cookies for personalization, analytics, and ads. By using our site, you agree to our cookie policy.
More info
Enables storage, such as cookies, related to analytics.
Enables storage, such as cookies, related to advertising.
Sets consent for sending user data to Google for online advertising purposes.