![]() |
|
#2
|
||||
|
||||
|
That looks like some code I posted at: http://social.msdn.microsoft.com/For...?forum=worddev
The code isn't meant to display a dialogue; it merely sets Word's compression to 'Web' resolution (96dpi). Changing the SendKeys code to: SendKeys "%A%P{Enter}" would sets Word's compression to 'Print' resolution (200dpi). That code works for Word 2003 & earlier, but not for Word 2007 & later. Although Word 2007 & later contain the same command bar, it doesn’t work. Indeed Word 2007 & later contain two command bars with the same ID - as your post shows - but it’s only the older non-functioning one the code activates. Since there is no difference in the IDs, there is no way to control which version Word serves up. According to the VBA help file: Quote:
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Resize multiple pictures in a Word 2010 table
|
JBA479 | Word VBA | 1 | 01-24-2014 08:51 PM |
| How to automatically insert pictures the same size in word 2010 | mindblaster | Word | 2 | 03-07-2013 11:42 AM |
How to prevent Compressing images in Word 2010
|
ramsgarla | Word | 1 | 11-21-2012 04:47 PM |
| Need help compressing a document | strewart | Word | 0 | 11-05-2009 09:05 PM |
| Compressing images | Fran | PowerPoint | 0 | 10-29-2009 07:18 AM |