Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 02-08-2012, 12:24 PM
sleake sleake is offline Need a macro to convert all graphics to GIF format Windows XP Need a macro to convert all graphics to GIF format Office 2007
Advanced Beginner
Need a macro to convert all graphics to GIF format
 
Join Date: Jul 2011
Posts: 60
sleake is on a distinguished road
Default Need a macro to convert all graphics to GIF format

I am working on a document with numerous screenshots of software windows. The author obviously pasted these in without converting the graphic file format. The document is now too large for users to download.



I've recorded a simple macro to cut the graphic and then use Paste Special to reinsert it as a GIF file. What I would like to do is create a macro that would go through the entire document, find each graphic, convert each to GIF and then repaste the modified graphic. Can anyone help with the VBA to do this?

Here's the "little" macro:
Sub ConverttoGIF()
'
' ConverttoGIF Macro
'
'
Selection.Cut
Selection.PasteSpecial Link:=False, DataType:=13, Placement:=wdInLine, _
DisplayAsIcon:=False
End Sub
Reply With Quote
 

Tags
macro, macro find graphics, paste special



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need a macro to convert all graphics to GIF format Macro to convert text to endnote? Orifacious Word VBA 27 03-29-2022 02:58 PM
Need a macro to convert all graphics to GIF format Macro to convert word file into pdf cc9083 Word VBA 2 02-23-2015 01:22 AM
Need a macro to convert all graphics to GIF format Creating macro to convert/print to pdf shabbaranks Word 3 05-18-2011 08:59 AM
Need a macro to convert all graphics to GIF format Excel convert format [h]:mm:ss to decimal gchan2000 Excel 1 08-17-2010 01:36 PM
Convert a file from HTML to WORD format weblayout view gtselvam Word 0 12-02-2008 03:53 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:15 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