Simplycongy
Registered User.
- Local time
- Today, 18:50
- Joined
- Nov 8, 2004
- Messages
- 43
extra code
Ooops..
forgot two its of extra code that you need to avoid this little error....
In the RunExcel module, insert the following after the 'create object' line
and in the form onclick event put the following after the SaveAs line
I'm afraid you'll have to shut down the computer to free up the files that are invisible....
Ooops..
forgot two its of extra code that you need to avoid this little error....
In the RunExcel module, insert the following after the 'create object' line
Code:
xl.Visible = True 'this makes the excel process visible
and in the form onclick event put the following after the SaveAs line
Code:
xl.Application.Quit 'this quits the excel object you opened preventing the this file is already open scenario...
I'm afraid you'll have to shut down the computer to free up the files that are invisible....