G
Guest
Hi everyone,
I'm using docmd.TransferSpreadsheet to export a table into an existing Excel
spreadsheet. I want it to replace all the data saved in one particular
worksheet which I have done but it leaves loads of blank rows between the
first row which holds the field names and the actual data. I think the blank
rows are left there because that is where the old data was.
Does anyone know how to prevent this from happening. If not can anyone tell
me how to delete the empty rows using VBA code written in Access.
Thanks!
I'm using docmd.TransferSpreadsheet to export a table into an existing Excel
spreadsheet. I want it to replace all the data saved in one particular
worksheet which I have done but it leaves loads of blank rows between the
first row which holds the field names and the actual data. I think the blank
rows are left there because that is where the old data was.
Does anyone know how to prevent this from happening. If not can anyone tell
me how to delete the empty rows using VBA code written in Access.
Thanks!