Hi All,
How to set the read only property for all files in folder using Excel VBA. The files in the folder will be xml, xls, doc.
Regards,
Abhi
Hi All,
How to set the read only property for all files in folder using Excel VBA. The files in the folder will be xml, xls, doc.
Regards,
Abhi
with path hard carded into the macro use the 1st macro
To allow user to select folder use 2nd macro
Macro 1 code
Macro code 2 - run setFileReadOnly![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely
Top Excel links for beginners to Experts
If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assistedor failed to assist you
I welcome your Feedback.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks