I've managed to transfer data in a subform frm_WIP_Subform to C:\MyWIP\WIP.xls using:
and this works fine. The correct data is transferred and the spreadsheet opens.
However, I would like to apply some formatting
(1) make cell A1 bold
(2) change the worksheet name from frm_WIP_Subform to WIP
I've just spent 4 hours looking through various forums and tried different suggestions but i'm no further forward.
Can anyone help?
Code:
DoCmd.OutputTo acOutputForm, "frm_WIP_Subform", acFormatXLS, "C:\MyWIP\WIP.xls", True
and this works fine. The correct data is transferred and the spreadsheet opens.
However, I would like to apply some formatting
(1) make cell A1 bold
(2) change the worksheet name from frm_WIP_Subform to WIP
I've just spent 4 hours looking through various forums and tried different suggestions but i'm no further forward.
Can anyone help?