Hi all,
I have a program I have been working on for some time that works in the OneDrive environment. I grabbed some code online to be able to save a PDF of a worksheet while offline in a file on OneDrive and ever since I a reoccurring compile error:
Capture.GIF
Generally if I comment out the code and then compile the program compiles, I then un comment the code and then compile again and good to go. Maybe two weeks later the same thing happens and I repeat the process and it works again for a while.
This is the function:
and this is how I call it:
FilePath is Dimmed as a string.
Can anyone see anything wrong with this code that could be causing the error or maybe a better way to achieve the same result?
Kind regards,
Marcus
Bookmarks