Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
It would be simpler to start with the list in file z, instead of folder x 'cycle through rows in file z myworkbook=some_range_from_file_z mypassword=some_range_from_file_z Workbook.Open myworkbook 'don't forget to include full path!!! ActiveWorkbook.Protect Password:=mypassword, Structu=True, Windows:=False 'next cycle If you insist on cycling through the folder, you should use FileScriptingObject, or FSO. Some cool examples can be googled. Regards, ManualMan |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Open multiple files | Setting up and Configuration of Excel | |||
Open multiple files into multiple worksheets of the same workbook | Excel Discussion (Misc queries) | |||
open multiple files | Excel Discussion (Misc queries) | |||
Apply VBA function to multiple excel files | Excel Programming | |||
Apply password to multiple Excel Files? | Excel Programming |