+ Reply to Thread
Results 1 to 3 of 3

Copy/Paste using VBA into a new workbook

  1. #1
    Forum Contributor
    Join Date
    05-26-2008
    Posts
    122

    Copy/Paste using VBA into a new workbook

    Hey all

    I am trying to do a copy paste using vba but i keep getting a runtime error
    It copies the first part and pastes it at B50 but after copying the sheet to a new workbook.. it fails.. I cant seem to figure out whyy??@@

    Any help is greatly appreciated. Thanks



    Please Login or Register  to view this content.

  2. #2
    Forum Contributor
    Join Date
    05-26-2008
    Posts
    122

    Re: Copy/Paste using VBA into a new workbook

    any1 ?? basically i have a worksheet with a few vlookup formulas
    and I wanna use vba to copy the sheet into a new workbook
    but as soon as i copy it into the sheet.. the vlookup formulas are giving a #ref error..

    so i figued i cud copy paste values somewhere before i copy the sheet and then copy paste them back into their original position after i copy the sheet into a new workbook.. seemed simple enuff but its not working... :S

    any help is greatly appreciated.. if theres a better way of goin about it.. please let me know.. thankssss!!

  3. #3
    Forum Contributor
    Join Date
    02-27-2008
    Posts
    764

    Re: Copy/Paste using VBA into a new workbook

    Hi
    try running the macro without activesheet.copy
    Ravi

+ 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