Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default "sneaky" way to set tab order?

We have a rather complex spreadsheet for data collection. There are
about 50 data entry cells scattered all over it, and it would be a huge
help to be able to just hit <tab to navigate from one data entry cell
to another.

This can be done, as you know, by selecting the cells in sequence while
holding down <control, then entering a name for the range. Then the
user selects that name from the little pull-down menu to the upper left
of the worksheet. This activates the range with that name, and the
first cell in the series is highlighted and ready to go. No problem
there.

Some of our users aren't exactly rocket scientists, and I must make
this absolutely as simple as possible. What I want to do, is automate
this name/range-selection process, so when the user first opens the
worksheet, that range is already activated and ready to go, without
requiring the user to select it from that little menu in the upper
left.

So the whole thing would be transparent; the user would open the
worksheet, and it would open up all ready to start tabbing and entering
data, without the user having to do anything.

Surely there's some code I can stick in there to do this. Anybody?

Ron Morgan
Austin, Texas

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default "sneaky" way to set tab order?


ou need to select the range in he workboon_open method. then the code
below will leave the range selected

Private Sub Workbook_Open()
Application.Goto Reference:="rMyEnterRangename"

End Sub


regards


--
tony h
------------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php...o&userid=21074
View this thread: http://www.excelforum.com/showthread...hreadid=511231

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default "sneaky" way to set tab order?



maybe redesign your sheet:

make an "input area", where the user can enter all data
1 screen where he can see all "variables"
(use conditional formatting etc to point him to missing input..)

thus he doesnt need to navigate and on the printout it's simple to see
the pertinent "manual" data.

either move your original "scattered" input cells
to the new area, or simply put a reference to the new
input cell in the orignal input cell.


--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Ron M. wrote :

We have a rather complex spreadsheet for data collection. There are
about 50 data entry cells scattered all over it, and it would be a
huge help to be able to just hit <tab to navigate from one data
entry cell to another.

This can be done, as you know, by selecting the cells in sequence
while holding down <control, then entering a name for the range.
Then the user selects that name from the little pull-down menu to the
upper left of the worksheet. This activates the range with that name,
and the first cell in the series is highlighted and ready to go. No
problem there.

Some of our users aren't exactly rocket scientists, and I must make
this absolutely as simple as possible. What I want to do, is automate
this name/range-selection process, so when the user first opens the
worksheet, that range is already activated and ready to go, without
requiring the user to select it from that little menu in the upper
left.

So the whole thing would be transparent; the user would open the
worksheet, and it would open up all ready to start tabbing and
entering data, without the user having to do anything.

Surely there's some code I can stick in there to do this. Anybody?

Ron Morgan
Austin, Texas

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 152
Default "sneaky" way to set tab order?

As long as I'm not the one writing it, consider Input Boxes for each cell
activated with a Workbook_Open function.
somthing similar to:
Public Sub Customer()
'Customer Name Macro
Range("CstmrNm").Select
Selection = InputBox(Prompt:="[Type & Enter]" & Chr(13) & "The
customer name.", Title:="CUSTOMER NAME", Default:=Range("CstmrNm"))
'Customer Address Macro
Range("CstmrAddrss").Select
Selection = InputBox(Prompt:="[Type & Enter]" & Chr(13) & "The
customer address." & Chr(13) & "" & Chr(13) & "PLEASE; LEAVE BLANK IF
CALIBRATION WAS PERFORMED AT OUR FACILITY.", Title:="CUSTOMER ADDRESS",
Default:=Range("CstmrAddrss"))
'Customer Item Number Macro
Range("CstmrItmNmbr").Select
Selection = InputBox(Prompt:="[Type & Enter]" & Chr(13) & "The
number the customer assigned to this unit.", Title:="ITEM NUMBER",
Default:=Range("CstmrItmNmbr"))
End Sub

HTH Lou

"keepITcool" wrote:



maybe redesign your sheet:

make an "input area", where the user can enter all data
1 screen where he can see all "variables"
(use conditional formatting etc to point him to missing input..)

thus he doesnt need to navigate and on the printout it's simple to see
the pertinent "manual" data.

either move your original "scattered" input cells
to the new area, or simply put a reference to the new
input cell in the orignal input cell.


--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Ron M. wrote :

We have a rather complex spreadsheet for data collection. There are
about 50 data entry cells scattered all over it, and it would be a
huge help to be able to just hit <tab to navigate from one data
entry cell to another.

This can be done, as you know, by selecting the cells in sequence
while holding down <control, then entering a name for the range.
Then the user selects that name from the little pull-down menu to the
upper left of the worksheet. This activates the range with that name,
and the first cell in the series is highlighted and ready to go. No
problem there.

Some of our users aren't exactly rocket scientists, and I must make
this absolutely as simple as possible. What I want to do, is automate
this name/range-selection process, so when the user first opens the
worksheet, that range is already activated and ready to go, without
requiring the user to select it from that little menu in the upper
left.

So the whole thing would be transparent; the user would open the
worksheet, and it would open up all ready to start tabbing and
entering data, without the user having to do anything.

Surely there's some code I can stick in there to do this. Anybody?

Ron Morgan
Austin, Texas


  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,253
Default "sneaky" way to set tab order?

Lou

a barrage of inputboxes is exactyl opposite to
my idea of a sensible way to interact with the user.

--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam



  #6   Report Post  
Posted to microsoft.public.excel.programming
GS GS is offline
external usenet poster
 
Posts: 364
Default "sneaky" way to set tab order?

Possibly!

Can you unlock those input cells and protect the sheet. This will cause the
upper leftmost cell to be active (selected) when the workbook opens,
...usually. It depends where it was when last save, but you could add code to
Workbook_BeforeClose() to activate the starting cell so it's "ready-to-go"
when it opens.

Using just the Tab key will only allow navigation horizontally
left-to-right, and will proceed down to following rows when the there's no
more unlocked cell in a row.

If you don't need users to have access to non-input cells, they can only
follow the Tab key's route. It would be a good idea to review the design of
your sheet so this follows a logical order. In some cases, users may want to
use the other navigation keys in concert with the Tab key. Note that all
other navigation keys will also work 'normal' on protected sheets, but their
behavior can be dis-orienting if you're not used to using them with protected
sheets.

Regards,
GS
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
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
change "true" and "false" to "availble" and "out of stock" inthestands Excel Worksheet Functions 2 July 19th 07 07:05 PM
HELP on "left","right","find","len","substitute" functions serene83 Excel Discussion (Misc queries) 5 June 27th 06 02:23 AM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
use variable in Workbooks("book1").Worksheets("sheet1").Range("a1" Luc[_3_] Excel Programming 2 September 28th 05 08:37 PM


All times are GMT +1. The time now is 03:15 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"