You are currently viewing the Excel VBA section of the Wrox p2p Programmer to Programmer discussion community. This is a community of more than 40,000 computer programmers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining our free Wrox p2p community you can post your own programming questions and respond to other programmers’ questions. Registered users also don't have to see the ads that are displayed to guests. Registration is fast, simple and absolutely free so please, join today!
Join today and post to win prizes! Post more to increase your chances of being Wrox’s top poster of the month.
I am new here but here is the gist of what I need help on.
I have 2 excel files. One will be the Master data holder. The second is the input file.
I want to write a macro that will run from the input excel file that will find the first empty row in the master available and then copy a set of lines from the "input" file into the "master" file.
The help I need is how to open and run using these 2 different files. I already can run the copy commands once I can link the two excel files. I am using the "ActiveSheet.Cells(NUM, 2).Value = Worksheets("IF").Cells(2, 4)" command to copy between sheets. I just need to know the next step of going to a new workbook.
Whatever help is available would be much appreciated.