Thread: Checkbox code
View Single Post
 
Old 07-09-2020, 03:38 PM
Guessed's Avatar
Guessed Guessed is offline Windows 10 Office 2016
Expert
 
Join Date: Mar 2010
Location: Canberra/Melbourne Australia
Posts: 3,975
Guessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant futureGuessed has a brilliant future
Default

If you can't see a path then ThisDocument hasn't been saved yet.

With the other line, what is the value of strFileName at the time of the error?

You can debug these errors more easily if you watch values of the variables involved.
__________________
Andrew Lockton
Chrysalis Design, Melbourne Australia
Reply With Quote