Excel DataForm not picking up correct list

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi again,

I've written this code, headings are in row 5 and the data below.

Sub ShowEditForm()

Range("A5:O5").Select
ActiveSheet.ShowDataForm

End Sub

But when run it keeps on picking up data from row 2. A sheet heading and
nothing else.
What am I doing wrong.
 

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