I've just created my first sub to open an excel template and take the data from a query and place it in the proper place on a worksheet.
Two things are happening that have got me confused.
One - I have to close the db in order to open the excel file. I've set all my object variables to nothing at the end of the sub so I don't get this one.
Two - When I open the new file all I get is a blank Excel window. No workbook shows up.
Two things are happening that have got me confused.
One - I have to close the db in order to open the excel file. I've set all my object variables to nothing at the end of the sub so I don't get this one.
Two - When I open the new file all I get is a blank Excel window. No workbook shows up.