LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22
Default Inputbox's and Prompt value

Thanks this is what i was looking for

"Tom Ogilvy" wrote:

If you have xl2000 or later

Sub AA()
Dim v as Variant, a as String
Dim res as String
v = Application.Transpose(Range("A2:A10"))
a = Join(v,chr(10))
res = InputBox(a)
End Sub

If you just want to concatenate the values, replace Chr(10) with " " or ""

--
Regards,
Tom Ogilvy

"Kryer" wrote in message
...
I want to create an inputbox with the prompt values being listed from cell
values on a worksheet. So say I have range("a2:a10") filled with values

that
I would like to display as the prompt of the inputbox. Is this possible to

do?





 
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
save prompt for user exit, but no save prompt for batch import? lpj Excel Discussion (Misc queries) 1 February 25th 06 02:08 AM
Help on Prompt Zubair Excel Worksheet Functions 0 January 17th 05 09:15 AM
Prompt for Value halem2[_53_] Excel Programming 1 November 16th 04 07:07 PM
Prompt for Value halem2[_52_] Excel Programming 0 November 16th 04 02:14 PM
Prompt for Value halem2[_51_] Excel Programming 1 November 16th 04 02:07 PM


All times are GMT +1. The time now is 12:31 AM.

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"