Forum Discussion

aekbus's avatar
aekbus
Brass Contributor
Nov 03, 2024

Error Handling in a Macro

I have written a Workbook_Open() script which runs on startup and checks for the presence or absence of a named TextBox,  The code that follows this check depends upon whether or not the TexBox exist...
  • aekbus's avatar
    aekbus
    Nov 03, 2024

    I had some trouble getting your first solution to work properly (not worth going into detail), but I got your second solution working and I like it.  Actually, I like it better than your first because it indexes through all TextBoxes.  Thanks again for all your help.  I thought I was an expert on Excel - I have been using it for many years - but I was oh, so wrong.HansVogelaar 

Resources