Help with inputbox (Distinguish OK from Cancel)

  • Thread starter Thread starter NooK
  • Start date Start date
N

NooK

Is there any way to tell if the user has pressed Cancel in the input bo
or if he has pressed OK with the input field completelly empty?

Best Regards

Noo
 
Create your own form! It's very simple!
If you really want to use this function, try with
a "default" non-blank value. You can then compare
resulting value with intitial one.
mike
 
Hi NooK,


Try using Application.InputBox which returns either a zero length string or
a boolean False in your described cases.
 
Thanks a lot mostly appreciated.

Worked like a charm.

Best Regards

Noo
 

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