Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 06-06-2014, 08:37 AM
jpb103's Avatar
jpb103 jpb103 is offline How can I use a Macro to automatically update all the pictures in a word doc Windows 7 64bit How can I use a Macro to automatically update all the pictures in a word doc Office 2007
Advanced Beginner
 
Join Date: May 2014
Location: Thunder Bay, Ontario
Posts: 58
jpb103 is on a distinguished road
Default

Add this line to the beginning of your code:
Code:
Selection.WholeStory
This is the VBA code for select all (Ctrl+A). If you ever want to see what something you do a lot of looks like in code, just click on "Record Macro" in the "Code" section of the Developer tab and repeat the procedure. Stop recording once you're done and have a look at the code for the macro you just recorded.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to automatically insert pictures the same size in word 2010 mindblaster Word 2 03-07-2013 11:42 AM
Can Word automatically update figure numbers? gib65 Word 7 02-22-2013 05:52 AM
How can I use a Macro to automatically update all the pictures in a word doc Automatically update dates using a macro matthew544 Word VBA 5 12-06-2011 03:19 AM
How can I use a Macro to automatically update all the pictures in a word doc Can Word automatically update footnotes? gib65 Word 2 08-15-2011 01:46 PM
Automatically update text changes in Word - how do I do it? jonrm Word 2 05-21-2009 08:49 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:31 AM.


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