+ Reply to Thread
Results 1 to 2 of 2

VBA code for pasting values into a workbook beginning with the next row

  1. #1
    Registered User
    Join Date
    09-04-2012
    Location
    Oklahoma City, OK
    MS-Off Ver
    Excel 2010
    Posts
    9

    VBA code for pasting values into a workbook beginning with the next row

    I have the following code that is meant to copy and paste certain values from one workbook to another, but I need the macro to make a list in the workbook being pasted into by always pasting on the next available line. I keep getting an "Object Required" error with my current code and I can't figure out what to do.

    Please Login or Register  to view this content.
    Any help would be greatly appreciated!

    Thanks!
    Last edited by arlu1201; 06-04-2013 at 02:03 AM. Reason: Use code tags in future.

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: VBA code for pasting values into a workbook beginning with the next row

    You first want to copy D3 from one file to the next available row in column A in file 2? Then copy N24:T25 to the next available row in column A in file 2? Then again copy N30:T31 to the next available row in column A in file 2?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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