+ Reply to Thread
Results 1 to 2 of 2

VBA coding to generate next number in a list in a closed workbook, use to extract row

  1. #1
    Registered User
    Join Date
    11-09-2018
    Location
    Cardiff
    MS-Off Ver
    2016
    Posts
    1

    VBA coding to generate next number in a list in a closed workbook, use to extract row

    Hi,

    Having not coded for a long time and bitten off more than I can chew

    It is a multilayered problem that ideally needs to be run from a single macro / command button

    From a workbook (WB1) an experimental log I need to access a list in a closed workbook (WB2) all test dump and find the max value in a range in a column B, add 1 and append Max value plus 1 in the next row

    this same number must be returned to a defined cell in WB1, this auto populates a reference on WB1, sheet 1 column 1 and I need to copy and append the entire row into the next empty row in WB2, sheet 2

    any ideas....

    really need some guidance can not believe how much I've forgotten

  2. #2
    Forum Expert
    Join Date
    10-06-2017
    Location
    drevni ruchadlo
    MS-Off Ver
    old
    Posts
    2,158

    Re: VBA coding to generate next number in a list in a closed workbook, use to extract row

    Quote Originally Posted by Stephen Chi View Post
    ... I need to access a list in a closed workbook (WB2) ... and I need to copy and append the entire row into the next empty row in WB2, sheet 2 ...
    You can "download" data from a closed workbook (WB2), but you can not "add" data to a closed workbook (WB2), you must first open it.

+ 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] Macro to generate the next quote number from another workbook list
    By tmangus in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-11-2016, 03:31 PM
  2. Replies: 1
    Last Post: 12-22-2015, 07:39 PM
  3. VBA to extract data from another closed and protected workbook
    By BDBJ1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-22-2015, 07:39 PM
  4. VBA to extract data from another closed protected workbook
    By BDBJ1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-22-2015, 07:06 PM
  5. Hard-coding formula to reference cell from closed workbook
    By ThomServo in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 07-10-2015, 02:51 PM
  6. Extract data from closed workbooks and copy into new workbook
    By philaugust2004 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-15-2013, 07:45 AM
  7. How to extract data from a wooksheet in a closed workbook
    By kuansheng in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 02-14-2006, 11:50 PM

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