+ Reply to Thread
Results 1 to 2 of 2

Adding active rows from sheet to closed database-workbook

  1. #1
    Registered User
    Join Date
    10-16-2013
    Location
    Nederland
    MS-Off Ver
    Excel 2003
    Posts
    38

    Adding active rows from sheet to closed database-workbook

    Hello,

    I would like to have people enter information in the file "Order", and click the Add button. After this the active rows should be added to the first empty row in the "Data"-file.
    This so all people can keep the Order file open at all times and Data can be added by all.
    I thought I was close, but I keep running into errors. Could you help me?

    Thanks in advance!
    Regards,
    Psj
    Attached Files Attached Files

  2. #2
    Forum Expert Mumps1's Avatar
    Join Date
    10-10-2012
    Location
    Toronto, Canada
    MS-Off Ver
    Excel 2010, 2013
    Posts
    7,905

    Re: Adding active rows from sheet to closed database-workbook

    This is a slightly different approach from the one you were using. Hopefully, it works out for you. Copy and paste this macro into the worksheet code module. Do the following: right click the tab for your "Orders" sheet in the "Orders" workbook and click 'View Code'. Paste the macro into the empty code window that opens up. Close the code window to return to your sheet. This macro works without the use of a button. Simply double click the cell in column A of the row you want to copy to the "Data" workbook and that row will be copied automatically.
    Please Login or Register  to view this content.
    You can say "THANK YOU" for help received by clicking the Star symbol at the bottom left of the helper's post.
    Practice makes perfect. I'm very far from perfect so I'm still practising.

+ 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. [SOLVED] vba code to copy a specific sheet from a closed workbook to the active workbook
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 11-01-2017, 03:09 AM
  2. [SOLVED] macro to copy specifc sheet in closed workbook to the active sheet
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-07-2017, 09:53 AM
  3. [SOLVED] vba copy specific sheet from closed workbook to active workbook
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-12-2017, 01:33 PM
  4. [SOLVED] copy specific sheet from closed workbook to active workbook
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-10-2017, 10:26 PM
  5. vba copy specific sheet from closed workbook to active workbook
    By JEAN1972 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-09-2017, 02:34 PM
  6. VBA to import all sheets from closed workbook to Active Sheet.
    By shiva_reshs in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-20-2014, 02:42 PM
  7. Copying rows from multiple closed workbooks to active workbook
    By onbeillp111 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 07-24-2013, 11:19 AM

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