Macro using Data Form

  • Thread starter Thread starter Al
  • Start date Start date
A

Al

Hi I want to create a macro to allow users to enter data using data form.

Having set up my worksheet I have selected column headings. I then sedlect
Data > Form, at which point I get an annoying message up saying that Excel
doesn't kn ow which rows to use as headings. I can click Ok to go pastg it,
but is there anyway to inhibit the message in the first place?
if I select column headings, plus firfst row of data, I dont have a problem,
but then the data form comes up with the first row of data in form - which I
dont want.

Thanks
A
 
Didn't the followup to the other thread help?
Hi I want to create a macro to allow users to enter data using data form.

Having set up my worksheet I have selected column headings. I then sedlect
Data > Form, at which point I get an annoying message up saying that Excel
doesn't kn ow which rows to use as headings. I can click Ok to go pastg it,
but is there anyway to inhibit the message in the first place?
if I select column headings, plus firfst row of data, I dont have a problem,
but then the data form comes up with the first row of data in form - which I
dont want.

Thanks
A
 
application.displayalerts = false
ActiveSheet.ShowDataForm
application.displayalerts = true

Remember that you can use google to find your old threads.
 

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