I have dev app to take data from scrn and print it into Word Document held in template. If I use the step thru debugger it works perfectly. When I run the applet it bombs with msg: WINWORD has generated errors & will be closed by Windows.
The code involved is:
<
SmallClaimsTemplate.PrintOut
SmallClaimsTemplate.Close SaveChanges:=wsDoNotSaveChanges
SmallClaimEntry.SmallClaimForm.hide
SmallClaimEntry.SmallClaimsTemplate.Close SaveChanges:=wsDoNotSaveChanges
Tasks(“Microsoft Word”).Close
Remember, it prints when stepping thru code. It does not when trying to ‘run’
Please help
Thanks for you assistance
Mike Springer
630-202-2921