Hi,
I have a database that exports a recordset into a spreadsheet and I need to lock the cells that I have copied the recordset into.
I can lock the cells but I don't know how I select the range of the copied recordset to lock the cells. The number of records that is pasted into the spreadsheet varies so I can't lock a specific range, but the recordset is always copied into the same cell.
Does anybody know how I can get round this problem?Your help would be greatly appreciated.
Hayden
I have a database that exports a recordset into a spreadsheet and I need to lock the cells that I have copied the recordset into.
I can lock the cells but I don't know how I select the range of the copied recordset to lock the cells. The number of records that is pasted into the spreadsheet varies so I can't lock a specific range, but the recordset is always copied into the same cell.
Does anybody know how I can get round this problem?Your help would be greatly appreciated.
Hayden