|
-
Nov 30th, 2005, 12:48 PM
#1
Thread Starter
New Member
Formatting an Inputbox variable
Hello folks! It's been a few years since I've written VB codes.
I'm using VBA for Excel and was wondering if there is a way to limit the user's entry in the Inputbox function.....in such a way like the old VB mask box.
for instance...
variable = Inputbox ("whatever")
...but when the Inputbox window pops up....I only want them to enter a value in Scientific Notation. I don't want them entering a string or any regular number.
Instead of having them enter a value then checking for it....is there a way to only allow them to enter that type of format?
I hope I'm making some sense.....maybe I need more sleep
-
Nov 30th, 2005, 12:52 PM
#2
Re: Formatting an Inputbox variable
Excel VBA question moved to Office Development.
-
Nov 30th, 2005, 12:54 PM
#3
Re: Formatting an Inputbox variable
Welcome to the forums!
You can't use formatted input with an InputBox, but you could make your own control/form that traps input to conform to your specs.
-
Nov 30th, 2005, 01:00 PM
#4
Thread Starter
New Member
Re: Formatting an Inputbox variable
ooooooooooooooooooooooooooooh
bummer lol
thanks for the help!
-
Nov 30th, 2005, 01:34 PM
#5
Thread Starter
New Member
Re: Formatting an Inputbox variable
Is there anyway to change the font style/size on the Inputbox default message?...not the user input but the message itself.
Gracias
-
Nov 30th, 2005, 02:01 PM
#6
Re: Formatting an Inputbox variable
It's possible, but it's complicated.
It would be easier to create your own form to act as an inputbox instead.
-
Nov 30th, 2005, 04:07 PM
#7
Thread Starter
New Member
Re: Formatting an Inputbox variable
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|