Jump to content

Welcome to Geeks to Go - Register now for FREE

Geeks To Go is a helpful hub, where thousands of volunteer geeks quickly serve friendly answers and support. Check out the forums and get free advice from the experts. Register now to gain access to all of our features, it's FREE and only takes one minute. Once registered and logged in, you will be able to create topics, post replies to existing threads, give reputation to your fellow members, get your own private messenger, post status updates, manage your profile and so much more.

Create Account How it Works
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