Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call Data->Form excel menu from code 1

Status
Not open for further replies.

mveera

Programmer
Nov 6, 2002
81
US
Hi,

I would know how to call the Data->form menu from my code. To call the Sort Dialog i use Application.dialogs.(). Is there any way i can write code to call the Data->Form menu automatically.

Thanks
Veera
 
Try the following:

application.CommandBars(1).Controls("Data").controls("Form...").execute

I got it to work this way (you have to select a valid range first).
Rob
 
Thanks.

That worked.

Thank You
Veera
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top