Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #3  
Old 03-02-2017, 12:09 AM
macropod's Avatar
macropod macropod is offline Use macro on form activate attached to read only file Windows 7 64bit Use macro on form activate attached to read only file Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,521
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

A macro can't change the Windows Explorer read-only attribute of an opened file. If you don't want users to edit the files, you should use Word's own read-only recommended option (see under Save As>Tools>General). Alternatively - and perhaps preferably in this case - save the document as a Word Template, which means the users will actually be creating a new document each time they double-click on the file.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
 

Tags
macro, office 2016, vba



Similar Threads
Thread Thread Starter Forum Replies Last Post
as to activate a macro without operator input ? gianca53 Excel Programming 0 02-02-2017 09:09 AM
Was hoping to use a Macro on the attached form, but... brians34 Word VBA 3 09-15-2015 11:56 AM
Use macro on form activate attached to read only file Macro to read text file and organize data in excel srinidhi.mv88 Excel Programming 5 05-19-2015 12:06 AM
macro used to activate shortcut keys hudsontucker13 PowerPoint 1 12-14-2013 09:47 AM
Run Macro & Activate shape ibrahimaa Excel Programming 1 01-21-2012 02:14 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 09:32 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft