EXPLAINATIONS:
Workbooks.Open "wb"
This doesn't work because you've put your wb in quotes. When you put something in quotes you are telling the system that you mean litterall "wb" .... for it to be a variable you leave the quotes off.
HOWEVER... taking the quotes off is not enough... you had used "set" with your variable "wb" and when you use set you are creating an Object and NOT assigning string to a variable. Sooooo it will fail since the "Open" is expecting a string , or variable that represents a string , and instead you've passed it a Workbook Object. Sooooo
Step 1 :
Assign you string to a variable
wb = "F:\Accts\Invoice\2011\92999_3-1-2011.xls(1).xls"
Step 2
Pass String to the Open method
Workbooks.Open wb
ANOTHER EXAMPLE... (do it both ways ie. object and string var)
Bookmarks