+ Reply to Thread
Results 1 to 6 of 6

Save range in a new workbook as .gif

  1. #1
    Registered User
    Join Date
    08-23-2009
    Location
    Belgium
    MS-Off Ver
    xl2007
    Posts
    12

    Save range in a new workbook as .gif

    This is the macro :

    Please Login or Register  to view this content.

    Is there a way to get the range to a new pic?

    Range("B2:054").Select
    Selection.CopyPicture Appearance:=xlPrinter, Format:=xlPicture

    thanks,

    P.

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Save range in a new workbook as .gif

    Hello Pinokkio,

    It is quite easy to do.
    Please Login or Register  to view this content.
    Sincerely,
    Leith Ross

    Remember To Do the Following....

    1. Use code tags. Place [CODE] before the first line of code and [/CODE] after the last line of code.
    2. Thank those who have helped you by clicking the Star below the post.
    3. Please mark your post [SOLVED] if it has been answered satisfactorily.


    Old Scottish Proverb...
    Luathaid gu deanamh maille! (Rushing causes delays!)

  3. #3
    Registered User
    Join Date
    08-23-2009
    Location
    Belgium
    MS-Off Ver
    xl2007
    Posts
    12

    Re: Save range in a new workbook as .gif

    thanks for replay,

    I get a message:
    Methode range to object-global failed
    and this on : Range("B2:054").copy

    Work with Excel2007?

  4. #4
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,259

    Re: Save range in a new workbook as .gif

    Hello pinokkio,

    I developed the macro using Excel 2003 and it ran fine. If you are using Excel 2007 then I can't say for sure it will work the same.

  5. #5
    Registered User
    Join Date
    08-23-2009
    Location
    Belgium
    MS-Off Ver
    xl2007
    Posts
    12

    Re: Save range in a new workbook as .gif

    I've already found that sum macros don't work with xl2007.

    Another question: can this macro written shorter?

    Please Login or Register  to view this content.

  6. #6
    Registered User
    Join Date
    08-23-2009
    Location
    Belgium
    MS-Off Ver
    xl2007
    Posts
    12

    Re: Save range in a new workbook as .gif

    The macro problem solved by naming a range.

    Please Login or Register  to view this content.

+ 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