Scottflyer,
If you want to access a workbook with out having it active try using:
WorkBooks("myWorkBook")
Instead of:
ActiveWorkbook
To protect the workbook, use the following:
Workbooks("myWorkBook").Protect "Password", True, True
The first password is case...
Hi IoMatua,
I think that the best way to retrieve any file related information / attributes is to use the FileSystemObject (scrunn.dll). This is a standard Microsoft component, so there will be no problems in using it within VBA.
The following function takes in the name of a file and returns...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.