Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Setting the Tab Order

Greetings,

I found that I can move between specific cells by using the name range
feature, but this has a limit of 255 characters, which means I can
only select about 25-30 cells.

The spreadsheet I am working on, I need to tab between 115 different
cells.

I set up a VB script to use:
Private Sub Worksheet_Change(ByVal Target As Range)
Select Case Target.Address

However, the code above requires me to change each cell before moving
to the next cell.


My delema is that sometimes I will need to change specific cells, and
other times I wont need to change them. Is there a different syntax
that I should be using to get the tab order set up correctly for both
cells that change and cells that remain unchanged?

Thanks!
Brian
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Setting the Tab Order

How about an alternative.

If you select the range first (all 115 cells), then excel will follow that order
when you tab through the cells.

If you want to try:
Select the 2nd, 3rd, ..., 115th, then the 1st cell.
Give that a nice name via: Insert|Name|Define

Then you can use that name to select the 115 cells quickly.
(Edit|goto or F5 or gtrl-g and choosing the name or using the dropdown arrow of
the namebox.)



wrote:

Greetings,

I found that I can move between specific cells by using the name range
feature, but this has a limit of 255 characters, which means I can
only select about 25-30 cells.

The spreadsheet I am working on, I need to tab between 115 different
cells.

I set up a VB script to use:
Private Sub Worksheet_Change(ByVal Target As Range)
Select Case Target.Address

However, the code above requires me to change each cell before moving
to the next cell.

My delema is that sometimes I will need to change specific cells, and
other times I wont need to change them. Is there a different syntax
that I should be using to get the tab order set up correctly for both
cells that change and cells that remain unchanged?

Thanks!
Brian


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Setting the Tab Order

Hi Dave

Unfortunately, that has a limit of 255 characters in any given string.
Therefore you can only tab between 25 to 30 cells. Anything more than
that, and you will get an error due to going over the 255 character
limit.

I was hoping there was another way, but have yet to find anything so
far.

Thanks for your help! :)
Brian

On Oct 22, 11:04*am, Dave Peterson wrote:
How about an alternative.

If you select the range first (all 115 cells), then excel will follow that order
when you tab through the cells.

If you want to try:
Select the 2nd, 3rd, ..., 115th, then the 1st cell.
Give that a nice name via: *Insert|Name|Define

Then you can use that name to select the 115 cells quickly.
(Edit|goto or F5 or gtrl-g and choosing the name or using the dropdown arrow of
the namebox.)





wrote:

Greetings,


I found that I can move between specific cells by using the name range
feature, but this has a limit of 255 characters, which means I can
only select about 25-30 cells.


The spreadsheet I am working on, I need to tab between 115 different
cells.


I set up a VB script to use:
Private Sub Worksheet_Change(ByVal Target As Range)
* * Select Case Target.Address


However, the code above requires me to change each cell before moving
to the next cell.


My delema is that sometimes I will need to change specific cells, and
other times I wont need to change them. *Is there a different syntax
that I should be using to get the tab order set up correctly for both
cells that change and cells that remain unchanged?


Thanks!
Brian


--

Dave Peterson- Hide quoted text -

- Show quoted text -


  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Setting the Tab Order

Select your 115 cells.
Type the name in the namebox and hit enter.



wrote:

Hi Dave

Unfortunately, that has a limit of 255 characters in any given string.
Therefore you can only tab between 25 to 30 cells. Anything more than
that, and you will get an error due to going over the 255 character
limit.

I was hoping there was another way, but have yet to find anything so
far.

Thanks for your help! :)
Brian

On Oct 22, 11:04 am, Dave Peterson wrote:
How about an alternative.

If you select the range first (all 115 cells), then excel will follow that order
when you tab through the cells.

If you want to try:
Select the 2nd, 3rd, ..., 115th, then the 1st cell.
Give that a nice name via: Insert|Name|Define

Then you can use that name to select the 115 cells quickly.
(Edit|goto or F5 or gtrl-g and choosing the name or using the dropdown arrow of
the namebox.)





wrote:

Greetings,


I found that I can move between specific cells by using the name range
feature, but this has a limit of 255 characters, which means I can
only select about 25-30 cells.


The spreadsheet I am working on, I need to tab between 115 different
cells.


I set up a VB script to use:
Private Sub Worksheet_Change(ByVal Target As Range)
Select Case Target.Address


However, the code above requires me to change each cell before moving
to the next cell.


My delema is that sometimes I will need to change specific cells, and
other times I wont need to change them. Is there a different syntax
that I should be using to get the tab order set up correctly for both
cells that change and cells that remain unchanged?


Thanks!
Brian


--

Dave Peterson- Hide quoted text -

- Show quoted text -


--

Dave Peterson
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
How stop Excel file UK date order changing to US order in m.merge Roger Aldridge Excel Discussion (Misc queries) 1 October 9th 07 11:52 PM
Setting custom Tab order Rusty Setting up and Configuration of Excel 2 May 17th 07 06:43 PM
setting order in excel M Kirwin Excel Discussion (Misc queries) 2 October 31st 06 08:58 AM
Setting default pivot table field setting to "sum" Mr. Moose Excel Discussion (Misc queries) 2 December 21st 04 04:43 PM
Daily Macro to Download Data, Order and paste in order Iarla Excel Worksheet Functions 1 November 17th 04 01:59 PM


All times are GMT +1. The time now is 04:35 PM.

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"