Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default simulate a enter key behaviour?

Hi everyone

i don´t know if this is possible.
i have a group of textboxes that on tab/enter key the cursor moves to the
next box.
my problem is that i have a group of frames and i want that on
me.textboxgroup in frame1 the cursor "move" to me.textboxgroup on frame2.

i have made:
while flag=0
if isntr(me.textboxgroup.name,"BOX")=0
'-----here is the code i want for keycode=enter and jump to the private sub
textbox_keypress() again - to jump for the next textbox

wend

is this possible, to simulate a enter key and jump to the keypress sub???

thanks very much
Miguel


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default simulate a enter key behaviour?



SendKey "{ENTER}"

Shinya

"Liedson31" wrote in message
...
Hi everyone

i don$B!-(Bt know if this is possible.
i have a group of textboxes that on tab/enter key the cursor moves to the
next box.
my problem is that i have a group of frames and i want that on
me.textboxgroup in frame1 the cursor "move" to me.textboxgroup on frame2.

i have made:
while flag=0
if isntr(me.textboxgroup.name,"BOX")=0
'-----here is the code i want for keycode=enter and jump to the private
sub
textbox_keypress() again - to jump for the next textbox

wend

is this possible, to simulate a enter key and jump to the keypress sub???

thanks very much
Miguel




  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 65
Default simulate a enter key behaviour?

Miguel,

You can use the SendKeys method to send a carriage return
--
http://HelpExcel.com
1-888-INGENIO
1-888-464-3646
x0197758


"Liedson31" wrote:

Hi everyone

i don´t know if this is possible.
i have a group of textboxes that on tab/enter key the cursor moves to the
next box.
my problem is that i have a group of frames and i want that on
me.textboxgroup in frame1 the cursor "move" to me.textboxgroup on frame2.

i have made:
while flag=0
if isntr(me.textboxgroup.name,"BOX")=0
'-----here is the code i want for keycode=enter and jump to the private sub
textbox_keypress() again - to jump for the next textbox

wend

is this possible, to simulate a enter key and jump to the keypress sub???

thanks very much
Miguel


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
Simulate Check Box Karen Excel Discussion (Misc queries) 15 April 27th 09 06:34 PM
simulate values for a given Mean and Standard deviation Myl Excel Discussion (Misc queries) 3 April 5th 06 05:26 PM
Simulate Click Event ben Excel Programming 5 June 9th 05 09:45 PM
how to change (override) enter key behaviour in a cell helpwithXL Excel Programming 3 April 1st 05 07:03 PM
How to simulate worksheet rename event Nacho Nachev Excel Programming 4 October 5th 04 03:03 PM


All times are GMT +1. The time now is 09:22 AM.

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"