I need to be able to load the xlls into an instance of Excel.
It is easy to do so using the GUI. Just use 'open file' dialog box and load the xll file.
However, how I can script this behaviour using vbs + COM?
In VBS you can do this:
Set xl = CreateObject("Excel.Application")
xl.RegisterXLL("analys32.xll") 'to load an XLL
xl.Workbooks.Open (xl.LibraryPath & "\analysis\atpvbaen.xla") 'to load an XLA
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
3 years ago