Run a dialog sheet from another dialog sheet

jeturner

New Member
Joined
Dec 14, 2005
Messages
7
please tell me how i can run a dialog sheet from another dialog sheet
i.e. by clicking a button to run a macro to open the sheet

thanks

o and as an afterthought, could anyone tell me how to automatically run a form when the file is opened, the FAQ one from mrexcel doesnt work for me
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hi,
Welcome to the board.
If you have a sheet with your required dialog then try putting in the macro:
Sheets("Your particular sheet name").select

AND for showing an userform while you open a file put in the Workbook Open event
userform1.show (substitue userform1 with your userform's name)
 
Upvote 0
Do you mean dialog sheets from Excel 5.0?

This is how you use VBA to run a dialog sheet.
Code:
DialogSheets("Dialog2").Show
What you could do is create a macro with that code and assign it to a button on another dialog sheet.
 
Upvote 0
thanks for your reply but is it possible to run the dialog, rather than just selecting it
sorry for not clarifying
 
Upvote 0
Norie said:
Do you mean dialog sheets from Excel 5.0?

This is how you use VBA to run a dialog sheet.
Code:
DialogSheets("Dialog2").Show
What you could do is create a macro with that code and assign it to a button on another dialog sheet.
thanks norie thats what i needed
 
Upvote 0
No problem.:)

Can I ask why you are using dialog sheets?
 
Upvote 0
i am creating a multi purpose worksheet for a computer illiterate friend to manage things such as his contacts and money
so am using a user friendly approach for him
but rather than have one huge dialog i wanted to split it up into many smaller ones
 
Upvote 0
Why not use userforms?

Dialog worksheets are from Excel 5.0 and are, as far as I know, only included in later versions for backward compatibility.
 
Upvote 0
i am only using dialog sheets because i have recently covered them at school, so understand them easily, havent used userforms as yet
 
Upvote 0
They teach dialog sheets in school? :rolleyes:

Like I said they're from Excel 5.0 which is more than 10 years old.

I've been working with Excel for a fair number of years and I've never come across them being used.

In fact the only place I see them mentioned is on this forum.

I don't actually know a lot about dialog sheets but I would imagine userforms might have more flexibility/functionality.
 
Upvote 0

Forum statistics

Threads
1,214,975
Messages
6,122,537
Members
449,088
Latest member
RandomExceller01

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top