View Single Post
 
Old 02-23-2013, 02:51 PM
Jamal NUMAN Jamal NUMAN is offline Windows 7 64bit Office 2010 64bit
Expert
 
Join Date: Nov 2010
Posts: 615
Jamal NUMAN is on a distinguished road
Question

Quote:
Originally Posted by macropod View Post
Hi Jamal,

1. No.

2. Your second screenshot suggests you're trying to call the macro via a link that points to the 'ThisDocument' module in your 'Document1', not in the 'Acronym Manager'. Try activating the document you want to update, then press F11 and run the macro directly from the vbe. As you've noted, the code also provides a means of running it from a different document to the one your list is in. That means you could add it to Word's 'Normal' template and run the macro from there simply comment out the 'Set FRDoc = ThisDocument' line and un-comment the 'Set FRDoc = Documents.Open' line and update the file reference there to point to whever you want to keep your own list (just make sure that document doesn't have any macros).

3. Aside from adding the code to your 'Normal' template, you could keep the file in a 'trusted location'. See: http://office.microsoft.com/en-us/he...010031999.aspx
Sounds that I fail to understand how does this macro work

Scenario:

1. I got two files (screenshot is attached), the file that contains the list and the macro and another file in which I need to run the macro such that
a. The expression is abbreviated the first time it appears on the document
b. The expression in replaced by its abbreviation anywhere it appears on the document

2. Then how I’m supposed to run the macro that that it takes effect on the second file named “D3”
a. Do I need to copy and paste the code to the file “D3”
b. Do I need to copy the list to the “D3”
c. Do I need only to click the code (screenshot is attached) to let it work

Best

Jamal
Attached Images
File Type: jpg Clip_67.jpg (110.4 KB, 31 views)
File Type: jpg Clip_68.jpg (108.2 KB, 33 views)
Reply With Quote