+ Reply to Thread
Results 1 to 3 of 3

Dialog box dynamic text

  1. #1
    Registered User
    Join Date
    09-10-2003
    Location
    London, UK
    Posts
    38

    Dialog box dynamic text

    Hi,

    I've created a dialog box in Excel 2000, and I'm wondering if it's possible to have text in the dialog box which changes according to a specific cell in a worksheet?!?

    Thanks,
    Dan.

  2. #2
    Jim Rech
    Guest

    Re: Dialog box dynamic text

    If you're using Excel 2000 you should be using a userform rather than a
    dialog sheet. but you can have dynamic text in a dialog sheet dialog when
    the dialog appears. This is an example of code that sets the caption of a
    label from the text in cell A1:

    Sub a()
    With DialogSheets("Dialog1")
    .Labels("Label 4").Caption = "abc"
    .Show
    End With
    End Sub


    --
    Jim
    "Voodoodan" <[email protected]> wrote
    in message news:[email protected]...
    |
    | Hi,
    |
    | I've created a dialog box in Excel 2000, and I'm wondering if it's
    | possible to have text in the dialog box which changes according to a
    | specific cell in a worksheet?!?
    |
    | Thanks,
    | Dan.
    |
    |
    | --
    | Voodoodan
    | ------------------------------------------------------------------------
    | Voodoodan's Profile:
    http://www.excelforum.com/member.php...nfo&userid=597
    | View this thread: http://www.excelforum.com/showthread...hreadid=397961
    |



  3. #3
    Registered User
    Join Date
    09-10-2003
    Location
    London, UK
    Posts
    38
    Jim,

    That's just what I needed, thanks. I just changed the "abc" bit to a Range("??") value and it works fine.

    Thanks,
    Dan.

+ 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