Thanks! I am getting errors on
Set MainBook = Workbooks(MAIN_BOOK_NAME)
Set MainSheet = MainBook.Sheets(MAIN_SHEET_NAME)
Set LastEntry = MainSheet.Cells(65536, COL_DATE).End(xlUp)
What will fix these? (I am new to VBA)
I would like the macro to find the smallest date on each sheet in...
I am trying to bulid a macro to update a spreadsheet. The macro should open up a workbook, select the sheet and find a date that is higher (more current) than the last date on the main page. For instance
UnitConditons1.xls
Date VIS COLOR API SULFUR
2/18/2003...
I am trying to bulid a macro to update a spreadsheet. The macro should open up a workbook, select the sheet and find a date that is higher (more current) than the last date on the main page. For instance
UnitConditons1.xls
2/18/2003 1:00:00 AM
2/19/2003 12:30:00 PM
C-60.xls (Sheet1)...
I am trying to bulid a macro to update a spreadsheet. The macro should open up a workbook, select the sheet and find a date that is higher (more current) than the last date on the main page. For instance
UnitConditons1.xls
2/18/2003 1:00:00 AM
2/19/2003 12:30:00 PM
C-60.xls (Sheet1)...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.