+ Reply to Thread
Results 1 to 3 of 3

Simple Copy and Paste

  1. #1
    Forum Contributor wmorrison49's Avatar
    Join Date
    09-25-2007
    Posts
    267

    Simple Copy and Paste

    I have a really simple issue that is screwing up and I don't know why. I am trying to copy cells A5:A100 on the first sheet and move them to a sheet called "BeerList". Here is the code I have used:

    Range("A5:A100").Select
    Selection.Copy
    Sheets("BeerList").Activate
    Range("A1").Select
    Selection.Paste
    I have tried to step through it but when it gets to Range("A1").Select it says "Runtime error 1004, Application-defined or object-defined error". Any idea what I am doing wrong?

  2. #2
    Forum Contributor
    Join Date
    04-21-2007
    Location
    Lima, Peru
    MS-Off Ver
    2000, 2007, 2010
    Posts
    674

    Copy problem

    Hi

    I am bot sure why it does not work as for me copy and paste in excel does not always seem to function as it should, however try the following.

    Please Login or Register  to view this content.
    Regards


    Jeff

  3. #3
    Forum Contributor wmorrison49's Avatar
    Join Date
    09-25-2007
    Posts
    267
    Thanks a lot Jeff. That worked great. That's weird that copy and paste acts erratically sometimes. I will definitely just use this method in the future.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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