M
Mike Archer
I want to switch backgrounds as an indication to the user
of unsaved changes. I want it to skip it if it is going
to cause a run time error so I use "on error resume next",
but it still errors when there is not enough memory. How
do I make it really skip the setbackgroundpicture function
if there is not enough memory?
On Error Resume Next
ThisWorkbook.Worksheets("Data").SetBackgroundPicture
ThisWorkbook.Path & _
Application.PathSeparator & "QPIBackground.jpg"
TIA
Mike
of unsaved changes. I want it to skip it if it is going
to cause a run time error so I use "on error resume next",
but it still errors when there is not enough memory. How
do I make it really skip the setbackgroundpicture function
if there is not enough memory?
On Error Resume Next
ThisWorkbook.Worksheets("Data").SetBackgroundPicture
ThisWorkbook.Path & _
Application.PathSeparator & "QPIBackground.jpg"
TIA
Mike