View Single Post
  #1 (permalink)  
Old August 13th, 2008, 06:41 AM
sektor sektor is offline
Authorized User
 
Join Date: Mar 2008
Posts: 74
Thanks: 2
Thanked 0 Times in 0 Posts
Send a message via ICQ to sektor
Default Open Excel Spreadsheet

I got the following code. The workbook isn't opened.


Option Explicit

Dim objExcel
Dim objWorkbook

Set objExcel = WScript.CreateObject("Excel.Application")
Set objWorkbook = objExcel.Workbooks.Open("C:\Scripts\New_users.xls" )

Set objExcel = Nothing
Set objWorkbook = Nothing


Reply With Quote