Jump to content

Welcome to Geeks to Go - Register now for FREE

Need help with your computer or device? Want to learn new tech skills? You're in the right place!
Geeks to Go is a friendly community of tech experts who can solve any problem you have. Just create a free account and post your question. Our volunteers will reply quickly and guide you through the steps. Don't let tech troubles stop you. Join Geeks to Go now and get the support you need!

How it Works Create Account
Photo

I NEED VB HELP ! -ANSWERED:D


  • Please log in to reply

#1
stu_design

stu_design

    Member

  • Member
  • PipPipPip
  • 217 posts
PLZ SOMEONE HELP

I am creating a msgbox that has a message thats very long

Dim Text_That_Really_Long
MsgBox Text_That_Really_Long, vbOKOnly, "PLZ HELP"

Is there anyway to start a new line for example
the message
"Press yes to use previous data Press No to change the month Press cancel to see Other Options"

Is there any way to seperate this message into something like this???

"Press yes to use previous data"
"Press No to change the month"
"Press cancel to see Other Options"

Without creating another msgbox??????

PLZ ANY HELP WOULD BE APPRECIATED!!!!!!

Answered My Own Question
use this

dim vbCrLf
vbCrLf = Chr(13) & Chr(10)
msgBox "Hello" & cbCrLf & "Hello"

thanks AnyWay
stu design

Edited by stu_design, 21 April 2005 - 12:51 PM.

  • 0

Advertisements


#2
mooncrawler

mooncrawler

    New Member

  • Member
  • Pip
  • 7 posts
It's not even needed to dimension the VbCrLf variable since that's already an existing keyword in VB.

You can also use "Line 1" & chr(13) & "Line 2"


moon
  • 0

#3
stu_design

stu_design

    Member

  • Topic Starter
  • Member
  • PipPipPip
  • 217 posts
:tazz: ;)

Stu Design
  • 0






Similar Topics

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

As Featured On:

Microsoft Yahoo BBC MSN PC Magazine Washington Post HP