+ Reply to Thread
Results 1 to 3 of 3

Problem Pasting with VBA

  1. #1
    Registered User
    Join Date
    10-04-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007/10
    Posts
    43

    Problem Pasting with VBA

    Hi all--I'm writing some code that is copying/pasting to another sheet but can't get it to work. Going through the code line-by-line, the copy part seems to work, but errors out on the paste line. Here is my code:

    Please Login or Register  to view this content.
    Any ideas?

    Thanks!

  2. #2
    Registered User
    Join Date
    10-04-2012
    Location
    Texas
    MS-Off Ver
    Excel 2007/10
    Posts
    43

    Re: Problem Pasting with VBA

    After posting I realized the issue...clearing out the work sheet in line 4 invalidates my current copy...hope that helps someone else too!

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

    Re: Problem Pasting with VBA

    If lastrow is correct, this should work.

    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)

Similar Threads

  1. Serious pasting problem!!!!
    By Voluntas in forum Excel General
    Replies: 8
    Last Post: 11-20-2012, 01:15 PM
  2. Problem with pasting down one row
    By trickydave in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-13-2011, 11:58 AM
  3. problem with pasting & #value
    By geofffra in forum Excel General
    Replies: 5
    Last Post: 12-04-2005, 05:00 PM
  4. [SOLVED] Problem Pasting
    By Duke in forum Excel General
    Replies: 4
    Last Post: 04-09-2005, 02:07 PM
  5. [SOLVED] Problem Pasting
    By Mary M in forum Excel General
    Replies: 1
    Last Post: 02-08-2005, 06:06 PM

Tags for this Thread

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