Advertisement
Advertisement
| 05.09.2008 at 09:51AM PDT, ID: 23390106 |
|
[x]
Attachment Details
|
||
1: 2: 3: 4: 5: 6: 7: 8: 9: 10: 11: |
mFile = '"http://intranet.cami.ca/sites/materials/NPD%20Materials/Buildout%20Metric%20-%20All%20Years.xls"'
*this code only works when the path does not have spaces
oleExcel = CREATEOBJECT("Excel.Application")
oleExcel.Workbooks.Open(mFILE)
oleSheet = oleExcel.Sheets(1)
oleExcel.Visible = -1
* this code works for paths without or with spaces
mI='c:\program files\microsoft office\office11\excel.exe '+mFILE
RUN/N &mI
|