Advertisement
Guest User

Untitled

a guest
Aug 15th, 2017
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. xl:=ComObjCreate("Excel.Application")
  2. xl.Visible:=true
  3. xl.Workbooks.Add()
  4. Sheets :=  xl.ActiveWorkbook.Sheets.count
  5. Loop,%Sheets%
  6. {
  7.     i++
  8.     MsgBox % xl.ActiveWorkbook.Sheets(a_index).Name
  9. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement