+ Reply to Thread
Results 1 to 6 of 6

Multiple PasteSpecial?

Hybrid View

  1. #1
    Forum Contributor
    Join Date
    03-05-2007
    Location
    Falmouth, VA now, Palm Bay, FL for 2 yrs, was Colorado Springs, CO for ten years; Cedark Park, TX; Zeeland, MI; Wilmette, IL; Princeton Junction, NJ; NY, NY
    MS-Off Ver
    365
    Posts
    594

    Multiple PasteSpecial?

    If one wishes to paste both values and formulas, how is this done?

    Selection.PasteSpecial _
    Paste:=xlPasteValues, _
    Paste:=xlPasteFormulas, _
    ... ?

  2. #2
    Forum Expert
    Join Date
    08-12-2012
    Location
    Sydney, Australia
    MS-Off Ver
    Excel 2010
    Posts
    5,636

    Re: Multiple PasteSpecial?

    i wonder what you are expecting as a result as they are mutually exclusive?
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.
    Select Thread Tools-> Mark thread as Solved. To undo, select Thread Tools-> Mark thread as Unsolved.

  3. #3
    Forum Expert
    Join Date
    01-25-2011
    Location
    Belgium, Alveringem
    MS-Off Ver
    Excel 2003, 2007, 365
    Posts
    1,418

    Re: Multiple PasteSpecial?

      Range("MyRangeA").Copy
      With Range("MyRangeB")
        .PasteSpecial xlPasteValues
        .PasteSpecial xlPasteFormulas
      End With
    Remember, saying thanks only takes a second or two. Click the little star * below, to give some Rep if you think an answer deserves it.

  4. #4
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Multiple PasteSpecial?

    Why not simply this?

    Selection.PasteSpecial Paste:=xlPasteFormulas
    Which will take care both formulas and values


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  5. #5
    Forum Contributor
    Join Date
    03-05-2007
    Location
    Falmouth, VA now, Palm Bay, FL for 2 yrs, was Colorado Springs, CO for ten years; Cedark Park, TX; Zeeland, MI; Wilmette, IL; Princeton Junction, NJ; NY, NY
    MS-Off Ver
    365
    Posts
    594

    Re: Multiple PasteSpecial?

    Woof. So "formulas" includes all the "static" values?... Once again embarrassed, but once again learned something new. Thank-you!

  6. #6
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: Multiple PasteSpecial?

    Quote Originally Posted by brucemc777 View Post
    Woof. So "formulas" includes all the "static" values?
    Yes exactly

+ 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. PasteSpecial multiple Worksheet into a single workbook
    By Salty72 in forum Excel General
    Replies: 3
    Last Post: 08-27-2012, 12:19 AM
  2. PasteSpecial in VBA
    By RBI in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-01-2008, 02:38 PM
  3. PasteSpecial Help
    By jgupte in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 05-20-2008, 10:32 PM
  4. [SOLVED] Help with PasteSpecial
    By [email protected] in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-09-2006, 06:40 AM
  5. [SOLVED] PasteSpecial
    By John Austin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-14-2005, 11:35 AM

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