Hi, I'm tryin to open every workbook in a folder I have, I thought i would set a variable to the path of the folder and say
dim wrbk as workbook
mypath = folderpath....
for each wrbk in mypath
workbooks.open filename:=wrbk
next wrbk
but thats no use i get an object required error when i try to execute the for each statement...any suggestions
actually i dont really want to open them, i just want to be able to access them in my program, thanks!!
dim wrbk as workbook
mypath = folderpath....
for each wrbk in mypath
workbooks.open filename:=wrbk
next wrbk
but thats no use i get an object required error when i try to execute the for each statement...any suggestions
actually i dont really want to open them, i just want to be able to access them in my program, thanks!!