Consulting

Results 1 to 6 of 6

Thread: Solved: Run a dialog using Macro

  1. #1
    VBAX Regular
    Joined
    Feb 2007
    Posts
    68
    Location

    Question Solved: Run a dialog using Macro

    Hi,
    On my workbook I have two items:
    (1) Sheet1
    (2) Dialog 1

    I can run the dialog using the ?run dialog? button from the ?FORMS? toolbar. I want to know that how to run that dialog using a macro?? (Like to show user form we use ?userform1.show?)

    Regards,
    Dan

  2. #2
    VBAX Mentor Marcster's Avatar
    Joined
    Jun 2005
    Posts
    434
    Location
    Hi Dansam,

    Try this:
    [VBA]
    DialogSheets("Dialog1").Show
    [/VBA]

    Marcster.

  3. #3
    VBAX Regular
    Joined
    Feb 2007
    Posts
    68
    Location
    Hi Marcster,
    It just got worked fine.
    Thank you very much for kind help.

    DAN

  4. #4
    VBAX Regular
    Joined
    Feb 2007
    Posts
    68
    Location
    And what to do if I want to hide that dialog ??
    dan

  5. #5
    VBAX Master Norie's Avatar
    Joined
    Jan 2005
    Location
    Stirling, Scotland
    Posts
    1,831
    Location
    Dan

    A dialog sheet?

    They date back to Excel 95 or thereabouts.

    I'm pretty sure they've been replaced by userforms.

  6. #6
    VBAX Regular
    Joined
    Feb 2007
    Posts
    68
    Location
    Oh!!
    I didn’t know the matter!
    I am just trying to learn that what kind of thing is a dialog sheet !!
    But … Thanks for suggestion


    Regards,
    Dan

Posting Permissions

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