Microsoft Office Forums

Go Back   Microsoft Office Forums > Microsoft Word > Word VBA

Reply
 
LinkBack Thread Tools Display Modes
  #1  
Old 02-05-2015, 01:26 PM
lilihildreth lilihildreth is offline Windows 8 Office 2013
Novice
 
Join Date: Feb 2015
Posts: 2
lilihildreth is on a distinguished road
Default When I create a new macro in Word 2013, it overwrites my previously saved macros.

In medical claims appeals, we use macros to insert operating room notes to explain what the surgeon did. The language is the same each time, according to the specific surgery. I "record macro", name it, assign it to a button, store it in All Documents (Normal.dotm), paste the text into the document and then stop recording. I test it and it's fine. When I check my previously recorded macros, they now each have the latest paragraphs (incorrect surgery note) in place of what was previously recorded. Any suggestions? I've researched this on the internet with no solution.
Reply With Quote
  #2  
Old 02-05-2015, 02:29 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,099
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

Recording a macro won't change the content of any other macros. The only way your scenario could occur is if the newly-recorded macro was given the same name as a previous one. In that case, the previous one would be replaced.
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
  #3  
Old 02-05-2015, 02:38 PM
lilihildreth lilihildreth is offline Windows 8 Office 2013
Novice
 
Join Date: Feb 2015
Posts: 2
lilihildreth is on a distinguished road
Default

They have totally different names, i.e., Gallbladder, Hernia, Appendectomy, etc.
Reply With Quote
  #4  
Old 02-05-2015, 03:27 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 19,099
macropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to beholdmacropod is a splendid one to behold
Default

If all you're recording is a paste action, a recorded macro will merely replicate the pasting of whatever might be in the clipboard when the paste occurs - not what was in the clipboard when the macro was recorded. What is the code generated by the macro recorder for, say, Hernia?
__________________
Cheers,
Paul Edstein
[MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro to find a word in first row of table and then perform two macros hmsrose Word VBA 5 01-30-2015 12:17 AM
Edit button grayed out in macros dialog box (word 2013) diesel94 Word VBA 2 07-18-2014 04:13 PM
Word 2013 problems with the Macros boki_s78 Word VBA 3 04-23-2014 03:30 AM
Word 2013 Recover Previously Saved Data anon Word 1 01-29-2014 09:16 PM
How to identify whether Word 2007 was used to create a document saved as Word 2003 noviceatwork Word 0 03-08-2012 06:40 AM


All times are GMT -7. The time now is 06:03 PM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
MSOfficeForums.com is not affiliated with Microsoft