I have a macro that exports a forms results to excel. I'm using the Output to function in the macro This is what the code looks like. ="g:\ms\rscplan\x65\" & Format(Now(),"mmddyyhhnn") & ".xls"
This is working correctly. But when I try to RunApp to open the file it does not work. I get an error message that says the file can't be found. This is what the code looks like.
excel.exe ="g:\ms\rscplan\x65\" & Format(Now(),'mmddyyhhnn') & ".xls"
I'm thinking it has something to do with how it is timestamped and it can't find that exact time because it changed? Any thoughts?
Thanks
This is working correctly. But when I try to RunApp to open the file it does not work. I get an error message that says the file can't be found. This is what the code looks like.
excel.exe ="g:\ms\rscplan\x65\" & Format(Now(),'mmddyyhhnn') & ".xls"
I'm thinking it has something to do with how it is timestamped and it can't find that exact time because it changed? Any thoughts?
Thanks