ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Open xldialogprint dialog box (https://www.excelbanter.com/excel-programming/427087-open-xldialogprint-dialog-box.html)

GreenFuze

Open xldialogprint dialog box
 
Hey everybody!

I'm trying to open a print dialogbox using c++ (c# is also alright...).
The thing is that I need to pass 30 arguments.

Now, I know I need to pass only part of them, and I know that I can get the
list of arguments using the developer's help in excel, and also I found a
thread on the internet that says what should be all the values of the
arguments.
but with all of these, it just won't work!

Can anyone write a working example of opening this dialog (using show()
function)?
I've been trying to do this for a few weeks now...! :-(

Thanks a lot in advance!!!

Nigel[_2_]

Open xldialogprint dialog box
 
Application.Dialogs(xlDialogPrint).Show


--

Regards,
Nigel




"GreenFuze" wrote in message
...
Hey everybody!

I'm trying to open a print dialogbox using c++ (c# is also alright...).
The thing is that I need to pass 30 arguments.

Now, I know I need to pass only part of them, and I know that I can get
the
list of arguments using the developer's help in excel, and also I found a
thread on the internet that says what should be all the values of the
arguments.
but with all of these, it just won't work!

Can anyone write a working example of opening this dialog (using show()
function)?
I've been trying to do this for a few weeks now...! :-(

Thanks a lot in advance!!!



GreenFuze

Open xldialogprint dialog box
 
Hey,

Thanks for the answer, but what are the parameters ???
(I am using C# or C++)

If I'm calling this function without parameters (all equel vtMissing), the
does not open.

"Nigel" wrote:

Application.Dialogs(xlDialogPrint).Show


--

Regards,
Nigel




"GreenFuze" wrote in message
...
Hey everybody!

I'm trying to open a print dialogbox using c++ (c# is also alright...).
The thing is that I need to pass 30 arguments.

Now, I know I need to pass only part of them, and I know that I can get
the
list of arguments using the developer's help in excel, and also I found a
thread on the internet that says what should be all the values of the
arguments.
but with all of these, it just won't work!

Can anyone write a working example of opening this dialog (using show()
function)?
I've been trying to do this for a few weeks now...! :-(

Thanks a lot in advance!!!





All times are GMT +1. The time now is 10:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com