+ Reply to Thread
Results 1 to 2 of 2

Copy worksheet to a new One

Hybrid View

  1. #1
    Registered User
    Join Date
    12-30-2013
    Location
    United States
    MS-Off Ver
    Excel 2013
    Posts
    40

    Copy worksheet to a new One

    Hello all,

    I am trying to copy a workbook to another; and to keep the formatting with pictures (shares).

    I had :

    SourceWkBook.Sheets(Trim(SheetName)).Range(StringRange).Copy Destination:=TargetWkBook.Sheets(Trim(SheetName)).Range("A1")

    but that didnt work; so I tried:

    SourceWkBook.Sheets(Trim(SheetName)).Range(StringRange).Copy
    TargetWkBook.Sheets(Trim(SheetName)).Range("A1").PasteSpecial xlPasteColumnWidths
    TargetWkBook.Sheets(Trim(SheetName)).Range("A1").PasteSpecial xlPasteValues, , False, False
    TargetWkBook.Sheets(Trim(SheetName)).Range("A1").PasteSpecial xlPasteFormats, , False, False



    These copied the Values and Column Foramtting ,but dont work for copying the pictures.

  2. #2
    Forum Contributor aganesan99's Avatar
    Join Date
    04-26-2013
    Location
    Chennai, India
    MS-Off Ver
    Excel 2010
    Posts
    129

    Re: Copy worksheet to a new One

    I don't think you can copy picture only

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Copy data from a worksheet and paste to worksheet with a similar worksheet name
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-21-2012, 04:02 AM
  2. Copy data from a worksheet and paste to worksheet with a similar worksheet name
    By maacmaac in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-21-2012, 02:49 AM
  3. Replies: 1
    Last Post: 08-29-2012, 07:11 PM
  4. Replies: 8
    Last Post: 04-20-2011, 09:45 AM
  5. Replies: 4
    Last Post: 02-25-2009, 03:16 PM

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