Hi Experts,
Need a help
2009 XlRange automation used with below code
//"Cell Value as Text" := DELCHR(FORMAT(XlWrkSht.Range(xlColID + xlRowID).Value),'<',' ');
XlRange := XlWrkSht.Range(xlColID + xlRowID);
"Cell Value as Text" := DELCHR(FORMAT(XlRange.Value),'<',' ');
Formula := '';
IF (FORMAT(XlRange.HasFormula)) = FORMAT(TRUE) THEN
Formula := FORMAT(XlRange.Formula);
Bold := FORMAT(XlRange.Font.Bold) = FORMAT(TRUE);
IF (FORMAT(XlRange.Font.Italic) = FORMAT(TRUE)) THEN
Italic := TRUE;
Underline := FORMAT(XlRange.Font.Underline) = FORMAT(TRUE);
//NumberFormat := FORMAT(XlRange.NumberFormat);
xlPosID := xlColID+xlRowID;
I have replaced using dot net but am getting error
Created DotNet var for XLRange and used this variable where ever exist
Microsoft.Office.Interop.Excel.Range.'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
but am getting the err when i import the excel
A DotNet variable has not been instantiated. Attempting to call Microsoft.Office.Interop.Excel.Worksheet.Range in Table Excel Buffer: ReadSheet
Need a help
2009 XlRange automation used with below code
//"Cell Value as Text" := DELCHR(FORMAT(XlWrkSht.Range(xlColID + xlRowID).Value),'<',' ');
XlRange := XlWrkSht.Range(xlColID + xlRowID);
"Cell Value as Text" := DELCHR(FORMAT(XlRange.Value),'<',' ');
Formula := '';
IF (FORMAT(XlRange.HasFormula)) = FORMAT(TRUE) THEN
Formula := FORMAT(XlRange.Formula);
Bold := FORMAT(XlRange.Font.Bold) = FORMAT(TRUE);
IF (FORMAT(XlRange.Font.Italic) = FORMAT(TRUE)) THEN
Italic := TRUE;
Underline := FORMAT(XlRange.Font.Underline) = FORMAT(TRUE);
//NumberFormat := FORMAT(XlRange.NumberFormat);
xlPosID := xlColID+xlRowID;
I have replaced using dot net but am getting error
Created DotNet var for XLRange and used this variable where ever exist
Microsoft.Office.Interop.Excel.Range.'Microsoft.Office.Interop.Excel, Version=15.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c'
but am getting the err when i import the excel
A DotNet variable has not been instantiated. Attempting to call Microsoft.Office.Interop.Excel.Worksheet.Range in Table Excel Buffer: ReadSheet