+ Reply to Thread
Results 1 to 2 of 2

Use ActiveSheet.PasteSpecial without selecting the destination cell

  1. #1
    Registered User
    Join Date
    04-16-2013
    Location
    London, England
    MS-Off Ver
    Excel 2010
    Posts
    52

    Use ActiveSheet.PasteSpecial without selecting the destination cell

    Currently the code looks like this, and it works:
    Please Login or Register  to view this content.
    however I would like to do the same without selecting the cell. so I tired this:
    Please Login or Register  to view this content.
    however I got the "Named argument not found." error message. Is there a way of pasting text this way without selecting the cell? (The source of my text is a macro, so text cannot be pasted the same way as it could be if the source was a cell.)

    Thanks

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,962

    Re: Use ActiveSheet.PasteSpecial without selecting the destination cell

    Range.Pastespecial is not the same as Activesheet.PasteSpecial

    Range("C2").PasteSpecial _
    Paste:=xlPasteFormats, _
    operation:=xlPasteSpecialOperationNone, _
    skipblanks:=False, _
    Transpose:=False
    Ben Van Johnson

+ 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. How to copy and PasteSpecial using the destination property
    By sship@ford.com in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 09-02-2013, 04:36 PM
  2. [SOLVED] Using a PasteSpecial within a Destination:= line
    By drdavidge in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-13-2006, 03:10 PM
  3. Using a PasteSpecial within a Destination:= line
    By drdavidge in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-13-2006, 02:06 PM
  4. selecting ActiveSheet.UsedRange
    By Gary''s Student in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-12-2006, 11:35 AM
  5. How to use Object.Copy(Destination) method PasteSpecial(xlPasteVal
    By RAP in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-16-2005, 01:05 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