+ Reply to Thread
Results 1 to 3 of 3

Msgbox text properties & Spacing

  1. #1
    Registered User
    Join Date
    02-05-2005
    Posts
    57

    Arrow [Resolved] Msgbox text properties & Spacing

    I have the following code

    Please Login or Register  to view this content.
    I would like to make BOLD "part" of the message in a message box. The part is NINO in message2. Any iudeas how to do this?

    Additonally, the part " Please confirm this is correct before continuing" I would like on a new line.

    thanks
    Last edited by rocket0612; 11-22-2005 at 08:54 AM.

  2. #2
    Rody Meulman
    Guest

    Re: Msgbox text properties & Spacing

    rocket0612,


    > I would like to make BOLD "part" of the message in a message box. The
    > part is NINO in message2. Any iudeas how to do this?


    As far as i know this is not possible, maybe you should consider to use a
    userform instead.


    > Additonally, the part " Please confirm this is correct before
    > continuing" I would like on a new line.


    Change the line to:
    Message2 = "The NI no you have entered is: " & NINO & vbcr & " Please
    confirm this is correct before continuing"

    Grtz,
    Rody


    "rocket0612" <rocket0612.1yw5ez_1132650902.8054@ex
    celforum-nospam.com> schreef in bericht
    news:[email protected]...
    >
    > I have the following code
    >
    >
    > Code:
    > --------------------
    > NInoget:
    >
    > Message1 = "Please input the National Insurance Number"
    > Title = "NATIONAL INSURANCE NUMBER"
    > NINO = InputBox(Message1, Title, Default)
    >
    > Message2 = "The NI no you have entered is: " & NINO & " Please confirm
    > this is correct before continuing"
    > rep = MsgBox(Message2, vbYesNoCancel, "NI No")
    > If rep = vbYes Then GoTo continue
    > If rep = vbNo Then GoTo NInoget
    > If rep = vbCancel Then End: MsgBox ("Operation cancelled")
    > --------------------
    >
    >
    > I would like to make BOLD "part" of the message in a message box. The
    > part is NINO in message2. Any iudeas how to do this?
    >
    > Additonally, the part " Please confirm this is correct before
    > continuing" I would like on a new line.
    >
    > thanks
    >
    >
    > --
    > rocket0612
    > ------------------------------------------------------------------------
    > rocket0612's Profile:
    > http://www.excelforum.com/member.php...o&userid=19492
    > View this thread: http://www.excelforum.com/showthread...hreadid=487138
    >




  3. #3
    Registered User
    Join Date
    02-05-2005
    Posts
    57
    thanks alot Rody

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1