Hi.
I'm having issues with deleting a line of code in my ThisWorkbook Workbook open event. it worked at one time then suddenly it stopped working. It doesn't give me an error when I run the program, but it just doesn't delete the line of code, like it should. When I open the sub and step through it I get the error code "Can't enter break mode at this time." I've checked to make sure the line number matched & I want to delete only that line.
Your help will be greatly appreciated
If I step through the file and get the error then hit continue or end it deletes the code like it should... but does not go to "End With"
I tried to input the line "On Error Resume Next" to try to override the error...well that line of code doesn't work on anything that I've tried.
i've cross-posted on 2 forums. Plenty of traffic but no suggestions
https://www.excelforum.com/exc…his-time.html#post5248130
https://www.excelguru.ca/forum…r-break-mode-at-this-time
If I'm doing anything that doesn't fit in with Ozgrid forum, please explain to me. The moderators are great and I want to get things right.
Thanks a ton
Here is the code: