Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- xl:=ComObjCreate("Excel.Application")
- xl.Visible:=true
- xl.Workbooks.Add()
- Sheets := xl.ActiveWorkbook.Sheets.count
- Loop,%Sheets%
- {
- i++
- MsgBox % xl.ActiveWorkbook.Sheets(a_index).Name
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement