S
Steven Britton via AccessMonster.com
I want to assign the path and file name using other controls I set during
the execution of code. This however doesn't currently work.
myDate = Format(Date, "mm-dd-yy")
mySource = strYear & " " & strPlant & " ALL MODELS"
strPath = "\\arlfs03\shared\Engineering\ENG\BOM Archive\BOM Reports\" &
myDate & ".xls
My path doesn't get set and I do not get an export. If I change it to:
myDate = Format(Date, "mm-dd-yy")
mySource = strYear & " " & strPlant & " ALL MODELS"
strPath = "\\arlfs03\shared\Engineering\ENG\BOM Archive\BOM Reports\2005 AB
ALL MODELS.xls
I get a file, how do I include the myDate and mySource as the file name?
the execution of code. This however doesn't currently work.
myDate = Format(Date, "mm-dd-yy")
mySource = strYear & " " & strPlant & " ALL MODELS"
strPath = "\\arlfs03\shared\Engineering\ENG\BOM Archive\BOM Reports\" &
myDate & ".xls
My path doesn't get set and I do not get an export. If I change it to:
myDate = Format(Date, "mm-dd-yy")
mySource = strYear & " " & strPlant & " ALL MODELS"
strPath = "\\arlfs03\shared\Engineering\ENG\BOM Archive\BOM Reports\2005 AB
ALL MODELS.xls
I get a file, how do I include the myDate and mySource as the file name?