Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #2  
Old 02-09-2012, 04:20 PM
macropod's Avatar
macropod macropod is offline Need a macro to convert all graphics to GIF format Windows 7 64bit Need a macro to convert all graphics to GIF format Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,520
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

Hi sleake,

Try:
Code:
Sub ConvertToGIF()
Application.ScreenUpdating = False
Dim i As Long, Rng As Range
With ActiveDocument
  For i = .InlineShapes.count To 1 Step -1
    Set Rng = .InlineShapes(i).Range
    Rng.Cut
    Rng.PasteSpecial Link:=False, DataType:=13, Placement:=wdInLine, DisplayAsIcon:=False
  Next
End With
Set Rng = Nothing
Application.ScreenUpdating = True
End Sub
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
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 01:35 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