I have a form which populates values from an Access table into an Excel worksheet through VBA.
Set ExcelSheet = GetObject("Test Sheet Totals 20042.xls")
ExcelSheet.Application.cells(row, column) = tmp
This worked fine until this year, as I need to specify a different worksheet to populate. How do I do that?
Set ExcelSheet = GetObject("Test Sheet Totals 20042.xls")
ExcelSheet.Application.cells(row, column) = tmp
This worked fine until this year, as I need to specify a different worksheet to populate. How do I do that?