Can a custom toolbar be modified (using code) in Print Preview mod

G

Guest

I have a custom toolbar that has a button that, when clicked, I want to send
the current report being previewed to a pdf file. I already have the code
setup to create the pdf, I just can't figure out a way to change the On
Action property of the button. Thanks in advance for any help.
 
V

Van T. Dinh

Simply enter the function name like:

= functionname()

(including the equal sign).

Note that you need to use a function (or Macro), not a sub.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top