Add variables to the DoCMD
I am new to some of VBA. I want to take the following statement and make
PR_WINTER a variable
"N:\ROI_08\Reports\ROILIVE" & Format(Date, "MMDDYY") a variable
DoCmd.TransferSpreadsheet acExport, 8, "PR_WINTER", "N:\ROI_08\Reports\ROILIVE" & Format(Date, "MMDDYY"), True, ""
I can't seem to find this information anywhere in all my books.
Any help would be appreciated.
Thanks
Bill
Last edited by baNTON : July 10th, 2009 at 09:23 AM.
|