How can I get the info that is in individual spreadsheet cells into a device string?
I have searched, but not found what I wanted.
I found one close, but i get an error-can not create active x... something?
I do not have Excel on the HS machine, but I can use xls files with Microsoft Works.
Using HS 2.3.0.19 on XPsp3
Thanks,
Tim
I have searched, but not found what I wanted.
I found one close, but i get an error-can not create active x... something?
I do not have Excel on the HS machine, but I can use xls files with Microsoft Works.
Using HS 2.3.0.19 on XPsp3
Thanks,
Tim
Code:
sub main() File1 = "C:\temp\Book1.xls" Set appXL = CreateObject("Excel.Application") appXL.Visible = True Set wkb = appXL.Workbooks.Open(File1) xlsWorkSheet = wkb.Worksheets(1).Name rngXL = wkb.ActiveSheet.Range("A1") hs.writelog "excel value", rngXL hs.SetDeviceString "A1", rngXL wkb.Close True, File1 appXL.Quit Set appXL = Nothing End Sub
Comment