|
-
Apr 28th, 2001, 09:12 AM
#1
Thread Starter
Fanatic Member
Problem with Excel!!!!!!!! COME ON!!
What I am doing is this:
Set ObjWord = Word.Application
Dim i As Integer
For i = 1 To ObjWord.Documents.Count
lstabierto.AddItem ObjWord.Documents(i).Name
Next
In this way I am adding all the Word Documents that are currently open to a Listbox. When I tried to do the same with Excel:
Set objexcel = Excel.Application
For i = 1 To objexcel.Workbooks.Count
lstabierto.AddItem objexcel.Workbooks(i).Name
Next
Visual Baisc doesnt detect any Excel workbook open. (I do have excel opened)
ANY IDEAS????!!!?!?!?!?!?!?!?
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|