Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 75
Default ActiveSheet.ShowDataForm !!

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.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default ActiveSheet.ShowDataForm !!

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

worked for me.

--
Regards,
Tom Ogilvy


"RAFAAJ2000" wrote in message
...
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.



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 75
Default ActiveSheet.ShowDataForm !!

Thanks Tom,

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

Regards.


"Tom Ogilvy" wrote:

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

worked for me.

--
Regards,
Tom Ogilvy


"RAFAAJ2000" wrote in message
...
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.




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Locate ShowDataForm on Screen Steve Excel Discussion (Misc queries) 1 August 23rd 07 12:23 AM
ShowDataForm Steve Excel Discussion (Misc queries) 0 August 15th 07 09:48 PM
ShowDataForm method nc Excel Discussion (Misc queries) 4 March 8th 05 10:09 AM
ShowDataForm how to lock a field ? rony Excel Programming 0 October 27th 04 12:31 PM
ShowDataForm Initialization Alan Excel Programming 2 February 11th 04 11:24 PM


All times are GMT +1. The time now is 06:03 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"