Results 1 to 9 of 9

Open workbook, insert copied rows VBA code

Threaded View

  1. #3
    Forum Contributor
    Join Date
    07-26-2012
    Location
    USA
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    351

    Re: Open workbook, insert copied rows VBA code

    When I open the book, I am already selecting the "Contractors" sheet with

    Sheets ("Contractors").Select
    and then selecting row 4 of that sheet with
    Rows("4:4").Select
    The
    Selection.Copy
    is copying what I have selected from the original workbook. Since the numbers of rows I need to transfer will differ every day, I need to select them with my mouse before enacting the macro...so I'm telling excel to copy my selection with that

    I'm not entirely convinced this is the issue, I won't be able to try your suggestion until tomorrow though
    Last edited by VBA FTW; 07-26-2012 at 06:59 PM.

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