+ Reply to Thread
Results 1 to 5 of 5

Compress picture with macro in Excel

  1. #1
    jo
    Guest

    Compress picture with macro in Excel

    In Excel 2003 there is a buttom within the format picture dialog to
    compress pictures in the document. I would like to automate this step
    with a macro. I used the macro recorder when performing this action
    and it does not seem to record and information about compression. Is
    there a way to compress all pictures in the document with a macro?

    Thanks,


  2. #2
    Vic Eldridge
    Guest

    RE: Compress picture with macro in Excel

    Hi Jo,

    It looks like MS forgot to implement the VBA side of this new feature.
    Pretty lame hey ?

    Best I could do was,
    SendKeys "%oi%m%a~~{esc}"


    Regards,
    Vic Eldridge

    "jo" wrote:

    > In Excel 2003 there is a buttom within the format picture dialog to
    > compress pictures in the document. I would like to automate this step
    > with a macro. I used the macro recorder when performing this action
    > and it does not seem to record and information about compression. Is
    > there a way to compress all pictures in the document with a macro?
    >
    > Thanks,
    >
    >


  3. #3
    jo
    Guest

    Re: Compress picture with macro in Excel

    Are you serious? I'm not sure what this means if you are?


  4. #4
    Vic Eldridge
    Guest

    Re: Compress picture with macro in Excel

    > Are you serious? I'm not sure what this means if you are?

    Yes Jo, I was being serious.
    I would of expected the PictureFormat object to have a Compress method or a
    Compressed property. But I don't see one anywhere.

    With something the size of MS Office, release dates are determined by the
    accountants, not the programmers. I know this won't help much, but try to
    remember that even though it's not perfect, it's still the best spreadsheet
    available.


    Regards,
    Vic Eldridge


  5. #5
    Ivor
    Guest

    Re: Compress picture with macro in Excel

    Have you actually contacted MS to see what their intentions are in this regard.
    The inability to select all pictures in a spreadsheet and compress them with
    VBA kills the automation of catalogue reports as the time it takes to print a
    catalogue with 30+ (jpegs) pix of 2mb is too long to be practical?


    "Vic Eldridge" wrote:

    > > Are you serious? I'm not sure what this means if you are?

    >
    > Yes Jo, I was being serious.
    > I would of expected the PictureFormat object to have a Compress method or a
    > Compressed property. But I don't see one anywhere.
    >
    > With something the size of MS Office, release dates are determined by the
    > accountants, not the programmers. I know this won't help much, but try to
    > remember that even though it's not perfect, it's still the best spreadsheet
    > available.
    >
    >
    > Regards,
    > Vic Eldridge
    >


+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1