Re: Image compression using VBA by Jonathan
Jonathan
Tue Oct 04 12:23:58 CDT 2005
"Robertico" <Robertico@nomail.notvalid> wrote in message
news:eV6oYQQyFHA.3312@TK2MSFTNGP09.phx.gbl...
>> OK, in that case the following line of code will bring up the Compress
>> Pictures dialog, allowing the user to decide what compression to apply
>>
>> Commandbars.FindControl(Id:=6382).Execute
>
> I need to set this all by VBA, without any user interaction !
>
> Regards,
>
> Robertico
I think you may be out of luck. Unfortunately, that dialog is not a member
of the dialogs collection, and so cannot be automated.
About the only thing I can suggest is that you use Sendkeys to try and
simulate keypresses to the dialog.
--
Regards
Jonathan West - Word MVP
www.intelligentdocuments.co.uk
Please reply to the newsgroup
Keep your VBA code safe, sign the ClassicVB petition www.classicvb.org