View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
M K W M K W is offline
external usenet poster
 
Posts: 6
Default syntax of changing file attributes

Hello,
I set the attributes of an Excel file to Read-only, what is the VBA syntax
to remove that attribute, save the workbook and re-set it to Read-only
again. I tried

ActiveWorkbook.ReadOnlyRecommended = True

either this is not the correct syntax, or I am not using it in the correct
way.

any help would be highly appreciated