+ Reply to Thread
Results 1 to 7 of 7

Paste fails first time

  1. #1
    Forum Contributor
    Join Date
    11-06-2012
    Location
    New Jersey, US
    MS-Off Ver
    Excel 2007
    Posts
    174

    Paste fails first time

    Hello,

    Anyone know why this might fail the first time? Getting a run time error on Activesheet.Paste line.

    Please Login or Register  to view this content.
    Thanks

  2. #2
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Paste fails first time

    Where is the copy line in your code?

    Please Login or Register  to view this content.

  3. #3
    Forum Contributor
    Join Date
    11-06-2012
    Location
    New Jersey, US
    MS-Off Ver
    Excel 2007
    Posts
    174

    Re: Paste fails first time

    hello -

    Please Login or Register  to view this content.
    I'm copying the text from a .PDF. It only works the second time I run the macro and everytime thereafter.

    Thanks

  4. #4
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Paste fails first time

    Did you try it and if so do you still get an error?

  5. #5
    Forum Contributor
    Join Date
    11-06-2012
    Location
    New Jersey, US
    MS-Off Ver
    Excel 2007
    Posts
    174

    Re: Paste fails first time

    yes. I shutdown the computer to verify it fails the first time. The second time it works.

    Thanks

  6. #6
    Forum Expert
    Join Date
    03-28-2012
    Location
    TBA
    MS-Off Ver
    Office 365
    Posts
    12,454

    Re: Paste fails first time

    Do you mean it is still copying on the same cell? I do not know anything about keys.

    Please Login or Register  to view this content.

  7. #7
    Forum Contributor
    Join Date
    11-06-2012
    Location
    New Jersey, US
    MS-Off Ver
    Excel 2007
    Posts
    174

    Re: Paste fails first time

    Yes - it pastes to cell A1 correctly.

+ 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. Replies: 0
    Last Post: 02-10-2014, 01:34 PM
  2. Paste method fails when using template
    By knobblywobbly in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 09-29-2011, 03:50 AM
  3. Macro fails at pasting (Run-time error '1004' Paste method fail)
    By SergioS in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 04-09-2010, 02:17 PM
  4. Copy paste code fails
    By Ron Dean in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-17-2006, 07:50 AM
  5. Paste method fails in VBA
    By lalu in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-13-2005, 11: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