Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello All,
The following vbs file runs ok: Set XL=CreateObject("Excel.Application") XL.Visible=True XL.Workbooks.Open "\\blahblah\xxx.xlsm" blUpdateAll = True blUpdateFormatting = True XL.Run "'xxx.xlsm'!UpdateAllWorkbooks" XL.Run "'xxx.xlsm'!SaveJCfolder" XL.Workbooks("xxx.xlsm").close false XL.quit Set XL=nothing .....problem is that the two variables blUpdateAll & blUpdateFormatting are used in the programs UpdateAllWorkbooks & SaveJCfolder but that doesn't seem to be the case. It's like the variables are being stored but they aren't available to the programs Any help much appreciated Jason. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Set a reference to Microsoft VBScript Regular Expressions(vbscript.dll) | Excel Programming | |||
Vbscript and VBA | Excel Programming | |||
Please help with ADO and VBScript! | Excel Programming | |||
VBscript | Excel Programming | |||
VBscript | Excel Programming |