LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default UserVal default value

res = application.Inputbox("enter value","Value Entry","My Default Value")

--
Regards,
Tom Ogilvy


"Brad" wrote in message
...
For a UserVal prompt within VBA code, what additional lines of code would

I
need to insert so that if I hit the enter key without providing a value,

it
defaults to a predetermined value?

My thanks in advance for help on this matter.

Cheers! Brad




 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Default Windows Profile without default Office user info Karen Excel Discussion (Misc queries) 0 November 12th 08 04:53 PM
Default ribbon to open by default when opening xls in browser Hank Excel Discussion (Misc queries) 0 April 10th 08 10:12 PM
Default Set up Gor_yee Excel Discussion (Misc queries) 6 January 8th 07 11:46 AM
default value hustla7 Excel Discussion (Misc queries) 8 August 19th 06 07:17 PM
IDE default Antonio Excel Discussion (Misc queries) 0 June 6th 06 06:14 PM


All times are GMT +1. The time now is 04:13 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"