Access data form through command button

  • Thread starter Thread starter aet-inc
  • Start date Start date
A

aet-inc

Hi:

Can anyone please let me know if its possible to have a command button
cause the data form to appear?

Thank you in advance for your help.
 
Private Sub Commandbutton1_Click()
me.ShowDataForm
End Sub

If you data isn't in the first two rows (for example the top left cell of
the data was D20 and the data table was offset by at least one blank
row/column all around)


Private Sub Commandbutton1_Click()
me.Range("D20").CurrentRegion.Name = "Database"
me.ShowDataForm
End Sub


--
Regards,
Tom Ogilvy

aet-inc said:
Hi:

Can anyone please let me know if its possible to have a command button
cause the data form to appear?

Thank you in advance for your help.


------------------------------------------------



~~Now Available: Financial Statements.xls, a step by step guide to
creating financial statements
 

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

Back
Top