+ Reply to Thread
Results 1 to 3 of 3

Export Worksheet to Image

  1. #1
    Registered User
    Join Date
    04-25-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Export Worksheet to Image

    Hi,

    Is there any way to create a macro that when executed goes to each worksheet in the excel file, verifies the range of cells that have data and exports that range to a image file (jpg, ...)?

    I've several word files that have several tables generated in excel files, and each time i change the tables i've to copy/paste the new tables to word, i've tried the LINK field in word but it doesn't work very well for what i need.

    Thanks In Advance.

  2. #2
    Forum Guru Andy Pope's Avatar
    Join Date
    05-10-2004
    Location
    Essex, UK
    MS-Off Ver
    O365
    Posts
    20,467

    Re: Export Worksheet to Image

    You can use .CopyPicture to grab an image of a range.

    Do you really need to save to external if you are pasting to Word?

    You can have a look at the code used in my graphics exporter
    http://www.andypope.info/vba/gex.htm
    Cheers
    Andy
    www.andypope.info

  3. #3
    Registered User
    Join Date
    04-25-2009
    Location
    London, England
    MS-Off Ver
    Excel 2007
    Posts
    8

    Re: Export Worksheet to Image

    The idea was to supress the need to paste to word.

    With the help of a macro i could create a picture based on a range and LINK the pictures in the word avoiding the need to open each document and paste the picture.

+ 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