Delete textbox after exit

  • Thread starter Thread starter kylekelsch
  • Start date Start date
K

kylekelsch

Is there a way in VBA to delete a worksheet textbox after you exit it.
I've tried the KeyPress event but it gives me a error and excel has to
shut down. I think the error has to do with the fact that I am
deleting the textbox that triggered the event but I'm not sure. Any
help would be greatly appreciated.
 
Use Application.OnTime to trigger procedure to run in say 1 sec that
deletes that textbox.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Excellent. Chip obviously did a great job on the page.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top