Hello,
Just need some references for newbies to ActiveX. I am fairly good with Excel VB and need to know how to access that power from outside programs.
I have never used ActiveX before to create an excel sheet. I am now trying to use ActiveX to create an Excel spreadsheet with SecureCRT and VBscript. The example they gave to set this up was:
Set app = CreateObject("Excel.Application")
Set wb = app.Workbooks.Add
Set ws = wb.Worksheets(1)
But this confused me because of the .Add part. Everytime I use ws to do something, shouldn't that, in theory, add a workbook. I know from using it that it doesn't. I was wondering if the code I can use is limited by the program I am using, by Excel, or by ActiveX. Is there any simple way to reference things in excel just like I was writing code from excel VB editor? Any hints/tips/suggestions for a newbie would be greatly appreciated.
Thanks!
Just need some references for newbies to ActiveX. I am fairly good with Excel VB and need to know how to access that power from outside programs.
I have never used ActiveX before to create an excel sheet. I am now trying to use ActiveX to create an Excel spreadsheet with SecureCRT and VBscript. The example they gave to set this up was:
Set app = CreateObject("Excel.Application")
Set wb = app.Workbooks.Add
Set ws = wb.Worksheets(1)
But this confused me because of the .Add part. Everytime I use ws to do something, shouldn't that, in theory, add a workbook. I know from using it that it doesn't. I was wondering if the code I can use is limited by the program I am using, by Excel, or by ActiveX. Is there any simple way to reference things in excel just like I was writing code from excel VB editor? Any hints/tips/suggestions for a newbie would be greatly appreciated.
Thanks!