SendObject

G

Guest

I have a sendobject report in a macro working , but would like to know if
there is a way to do this in VB?
Thanks,
Pixie
 
J

jahoobob via AccessMonster.com

Yes. Two ways
1) Right click your macro and select Save As, then change the As box to
Module and select OK. The module will be named Converted Macro- macroname
2) In VBA type DoCmd.SendObject and hit the space bar. A tip will show
telling you where to place your parameters.
 
G

Guest

I've been trying to learn how to use more VBA but I'm not a programmer. I
did the first way listed and it converted very nicely. I can also understand
what I was looking at but now I don't know what to do to make the button run
the module instead when it's clicked. Can anyone tell me what I do next?
Thanks.
 

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