#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default text boxes

Hi,
I have some text boxes on one sheet called "interface", linked to
another table called "stage" . In that way, when the client types data
in the text boxes, those info will be linked into the "stage". Then I
have a button called "Enter", which is assigned a macro. So when the
client push "Enter", the macro will copy the stage info into a
permanent table and also clears up the "Interface" and "Stage". It
works fine so far.

But the problem is that there are quite a few text boxes on the
"interface". Clients said they couldn't jump from one box to the next
by "TAB" key. Well I guess "TAB" key is only designed for cells but
not text boxes.

So my question is: Can I alter the "TAB" key by a macro or VBA code to
allow the client jump from one box to the next.

Thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default text boxes

See Rob Bovey's post on this:

http://groups.google.com/groups?selm...tngp13.phx. g
bl

URL should be pasted into the web browser (all one line)

--
Regards,
Tom Ogilvy


NetComm888 wrote in message
om...
Hi,
I have some text boxes on one sheet called "interface", linked to
another table called "stage" . In that way, when the client types data
in the text boxes, those info will be linked into the "stage". Then I
have a button called "Enter", which is assigned a macro. So when the
client push "Enter", the macro will copy the stage info into a
permanent table and also clears up the "Interface" and "Stage". It
works fine so far.

But the problem is that there are quite a few text boxes on the
"interface". Clients said they couldn't jump from one box to the next
by "TAB" key. Well I guess "TAB" key is only designed for cells but
not text boxes.

So my question is: Can I alter the "TAB" key by a macro or VBA code to
allow the client jump from one box to the next.

Thanks in advance



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default text boxes


-----Original Message-----
Hi,

But the problem is that there are quite a few text boxes

on the
"interface". Clients said they couldn't jump from one box

to the next
by "TAB" key. Well I guess "TAB" key is only designed for

cells but
not text boxes.

So my question is: Can I alter the "TAB" key by a macro

or VBA code to

Once a Text box is selected you can enter text and tab to
the next box. You only need code to select the first box.

Sub TxtBoxTab()
ActiveSheet.Shapes("Text Box 2").Select
End Sub

Regards
Peter
  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default text boxes

One thing that may not be obvious to you in Rob's post is that you will need
to create a separate KeyDown event for each textbox and specify the previous
and next in series for each.

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"Tom Ogilvy" wrote in message
...
See Rob Bovey's post on this:


http://groups.google.com/groups?selm...tngp13.phx. g
bl

URL should be pasted into the web browser (all one line)

--
Regards,
Tom Ogilvy


NetComm888 wrote in message
om...
Hi,
I have some text boxes on one sheet called "interface", linked to
another table called "stage" . In that way, when the client types data
in the text boxes, those info will be linked into the "stage". Then I
have a button called "Enter", which is assigned a macro. So when the
client push "Enter", the macro will copy the stage info into a
permanent table and also clears up the "Interface" and "Stage". It
works fine so far.

But the problem is that there are quite a few text boxes on the
"interface". Clients said they couldn't jump from one box to the next
by "TAB" key. Well I guess "TAB" key is only designed for cells but
not text boxes.

So my question is: Can I alter the "TAB" key by a macro or VBA code to
allow the client jump from one box to the next.

Thanks in advance





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
Default font for pasted text in text boxes - Excel 2007 MS OFFICE USER EIT Excel Discussion (Misc queries) 0 March 25th 10 09:01 PM
User Form Text Boxes - Copy format of text boxes NDBC Excel Discussion (Misc queries) 3 July 2nd 09 02:02 AM
How to Import Visio Text Boxes into Excel as Text Nick_adminator Excel Discussion (Misc queries) 2 December 12th 07 05:56 AM
How do I link Text Boxes to Cells, not Cells to Text Boxes? Ebby Excel Worksheet Functions 1 May 15th 07 11:31 PM
In Excel, option to enter text in cells the same as text boxes RobGMU Excel Worksheet Functions 0 October 26th 05 04:20 PM


All times are GMT +1. The time now is 02:53 AM.

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

About Us

"It's about Microsoft Excel"