Hi,
I have a folder filled with reports from shifts.
Each file has a worksheet in it called batch summary.
this has multiple lines of data that hold information on batches.
What i need to happen is when the user hits a button, it will loop through the batch summary and write each row to another workbook called database.
if the row has no value in column D then it will skip to the next row.
I had got this working with microsoft Access and writing the rows to a table in a database. low and behold i have been told that acess is no option.
an example of a shift report file is attached called zz1.xlsm (batch summary work sheet is the one i need to extract the data from) and the code for writing it to the database is below
my main question is how can i replicate the code above to do the same thign to an excel work book instead of an access database?Please Login or Register to view this content.
it needs to open the work book, loop through copy row from batch summary if column D <> "" and paste row into next empty line of in the database file, save both files and exit.
Been racking my brains over this and do not know where to begin...
Appreciate any help,
Regards,
Alan
Bookmarks