ActiveSheet.ShowDataForm !!

R

RAFAAJ2000

Hi there,

Can the DataForm ( called via ActiveSheet.ShowDataForm ) be displayed ready
for a New Record input instead of displaying the first Record ?

I have used a the Sendkey Method but can't get it to work .

Any Ideas ?

Regards.
 
T

Tom Ogilvy

Sub MyShowform()
Range("A1").Select
SendKeys "%w", False
ActiveSheet.ShowDataForm
End Sub

worked for me.
 
R

RAFAAJ2000

Thanks Tom,

Works for me too . I was sending the wrong characters !

Regards.
 

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

Top