ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel Data Form (https://www.excelbanter.com/excel-discussion-misc-queries/182455-excel-data-form.html)

Malcolm McMaster[_2_]

Excel Data Form
 
A normal spread sheet displaying customer details such address, phone
numbers,contacts etc. In order to make it easier for users to add new
customers I would like to be able to launch the "form command" under the data
options from a button coded with a macro to present the user with the form.
This I can do by manually chosing the form command but I am unable to record
the steps as a macro and assign it to a controll button.
Any suggestions would be great.
Malcolm McMaster

FSt1

Excel Data Form
 
hi
if all you want to do is show the form...
Private Sub CommandButton1_Click()
ActiveSheet.ShowDataForm
End Sub

but i see little advantage to adding a button to run the command.

Regards
FSt1

"Malcolm McMaster" wrote:

A normal spread sheet displaying customer details such address, phone
numbers,contacts etc. In order to make it easier for users to add new
customers I would like to be able to launch the "form command" under the data
options from a button coded with a macro to present the user with the form.
This I can do by manually chosing the form command but I am unable to record
the steps as a macro and assign it to a controll button.
Any suggestions would be great.
Malcolm McMaster


Jim Cone

Excel Data Form
 

Maybe John Walkenbach's version of the Data Form would be of help...
http://www.j-walk.com/ss/dataform/index.htm

--
Jim Cone
San Francisco, USA
http://www.realezsites.com/bus/primitivesoftware
(Excel Add-ins / Excel Programming)



"Malcolm McMaster"
wrote in message
A normal spread sheet displaying customer details such address, phone
numbers,contacts etc. In order to make it easier for users to add new
customers I would like to be able to launch the "form command" under the data
options from a button coded with a macro to present the user with the form.
This I can do by manually chosing the form command but I am unable to record
the steps as a macro and assign it to a controll button.
Any suggestions would be great.
Malcolm McMaster


All times are GMT +1. The time now is 01:24 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com