Re: Printing a User Form
- From: "mully" <mully@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 19 May 2005 05:26:03 -0700
Hi Jan,
Absolutely brilliant - I just wrote the code not knowing that the command
button was on another sheet with your explanation of clicking twice on the
button in VBA it threw me on to the right sheet and code - just added
UserForm1.PrintForm in the correct place and it worked perfectly. Thank you
again
Regards
Mully
"Jan Karel Pieterse" wrote:
> Hi Mully,
>
> > find it difficult to write the necessary code to print the form when it
> > activates in excel - does this explanation help????
>
> What do you mean by "activates in Excel"?
>
> The code I gave you should be tied to a command button that is on the
> userform itself. You can access the code of a button (or any other
> control) from the VBE by double clicking the control in the userform's
> design window.
>
> Regards,
>
> Jan Karel Pieterse
> Excel MVP
> http://www.jkp-ads.com
>
>
.
- References:
- Printing a User Form
- From: mully
- Re: Printing a User Form
- From: Jan Karel Pieterse
- Re: Printing a User Form
- From: mully
- Re: Printing a User Form
- From: Jan Karel Pieterse
- Re: Printing a User Form
- From: mully
- Re: Printing a User Form
- From: Jan Karel Pieterse
- Printing a User Form
- Prev by Date: Re: Printing a User Form
- Next by Date: Footers in Excel
- Previous by thread: Re: Printing a User Form
- Next by thread: excel 2003 - macros & buttons
- Index(es):
Relevant Pages
|