ActiveSheet.ShowDataForm !!

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

Guest

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.
 
Sub MyShowform()
Range("A1").Select
SendKeys "%w", False
ActiveSheet.ShowDataForm
End Sub

worked for me.
 
Thanks Tom,

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

Regards.
 
Sub find__criteria_cur_cell()
'To find ActiveCell.Value
Set MyData = New DataObject
MyData.SetText ActiveCell.Value
MyData.PutInClipboard
col_mir = ActiveCell.Column - 1
str_mir = "%c" & "{TAB " & col_mir & "}" & "^v" & "%n"
SendKeys str_mir
ActiveSheet.ShowDataForm
End Sub
 

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