Logo 
Search:

MS Office Answers

Ask Question   UnAnswered
Home » Forum » MS Office       RSS Feeds
  Question Asked By: Carolina Lopez   on Sep 20 In MS Office Category.

  
Question Answered By: Candace Foster   on Sep 20

I was trying to solve your problem with the least amount of code  and came
across a great way to check for number  being entered  in a single line.

Dim val  as integer

val = Application.InputBox("Please enter a number","Number checker", Type:=1)

'Here you cannot enter any thing other than a number

Share: 

 

This Question has 9 more answer(s). View Complete Question Thread

 
Didn't find what you were looking for? Find more on Error in InputBox Or get search suggestion and latest updates.


Tagged: