Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default multiline inputbox or msgbox message

Is there a piece of code that allows you to have a multiline message in an
inputbox or msgbox so that it appears as such:

Which do you want:
A for Apples
B for Bananna
c for Coconut

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 644
Default multiline inputbox or msgbox message

Dim FruitBasket As String
FruitBasket = Application.InputBox("Which Do you Want:" & vbCrLf & "A
for Apple" & vbCrLf & "B for Banana" & vbCrLf & "C for Coconut", "I'm a
basket Case :)", , , , , , 2)

HTH

Die_Another_Day
jasminesy wrote:
Is there a piece of code that allows you to have a multiline message in an
inputbox or msgbox so that it appears as such:

Which do you want:
A for Apples
B for Bananna
c for Coconut

Thanks!


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 18
Default multiline inputbox or msgbox message

Thank You. This was actually what I had, but I forgot the second "&".

"Die_Another_Day" wrote:

Dim FruitBasket As String
FruitBasket = Application.InputBox("Which Do you Want:" & vbCrLf & "A
for Apple" & vbCrLf & "B for Banana" & vbCrLf & "C for Coconut", "I'm a
basket Case :)", , , , , , 2)

HTH

Die_Another_Day
jasminesy wrote:
Is there a piece of code that allows you to have a multiline message in an
inputbox or msgbox so that it appears as such:

Which do you want:
A for Apples
B for Bananna
c for Coconut

Thanks!



Reply
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
Help with InputBox and MsgBox Preschool Mike Excel Discussion (Misc queries) 9 April 14th 10 06:23 PM
msgbox / inputbox etc samenvoegen van sheets Excel Discussion (Misc queries) 2 March 16th 06 08:56 AM
msgbox / inputbox etc samenvoegen van sheets Excel Programming 6 March 15th 06 08:56 PM
msgbox / inputbox etc samenvoegen van sheets Excel Worksheet Functions 2 March 15th 06 04:28 PM
msgbox / inputbox etc samenvoegen van sheets Setting up and Configuration of Excel 1 March 15th 06 03:32 PM


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

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

About Us

"It's about Microsoft Excel"