taborder excel

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

How can I determine the taborder in an excel sheet ? It needs to go from
a3 to b3 tot a4 to b4 to a5 to b5 etc.
 
Do determine what it currently is

Dim sh as Object
for each sh in Activeworkbook.Sheets
msgbox sh.name & " index: " & sh.Index
Next
 
With the order you specified, it's quite easy.

Select the cells you want to tab between (eg A3:B5), then go to
Format>Cells>Protection, deselect the Locked checkbox then click OK.
Go to Tools>Protection>Protect Sheet. In the dialog box you will be offered
the option to set a password. This is optional. Depending on the version of
Excel there may also be the option to specify what operations users can
carry out. For the purposes of this exercise, the defaults will do. Click
OK.
Tab will now move to the next available unlocked cell working along the row
before moving onto the next row.

The cells do not have to be in one group, but will always check an entire
row before going onto the next row.
 
Misunderstood

to tab within the sheet. Select A3:B5 and move within the selection using
the Tab key. You can use the enter key as well if it is set to move right
after enter.
 
You are right Susan. I am not english so sorry if I used the wrong words. I
want to be able to controle the tabbing order within a worksheet. Alle fill
in fields are filled in with a handscanner and thus the movement within the
sheet should go automatically. I hope I'm clear now.
 
Susan gave you a link for code to sort the sheet names (tabs) at the bottom
of the Excel windows. Based on your response, that is not related to what
you want. I previously posted this as my second attempt - since it should
have been visible when you posted, I will post it again here:


to tab within the sheet. Select A3:B5 and move within the selection using
the Tab key. You can use the enter key as well if it is set to move right
after enter.
 
Tom's suggestion relies on the user selecting the area to restrict the
tabbing to. If you want to restrict entries ONLY to these 2 columns and
certain rows, then my suggestion of unlocking the cells and then protecting
the worksheet is more foolproof. Copied below:

Select the cells you want to tab between (eg A3:B5), then go to
Format>Cells>Protection, deselect the Locked checkbox then click OK.
Go to Tools>Protection>Protect Sheet. In the dialog box you will be offered
the option to set a password. This is optional. Depending on the version of
Excel there may also be the option to specify what operations users can
carry out. For the purposes of this exercise, the defaults will do. Click
OK.
Tab will now move to the next available unlocked cell working along the row
before moving onto the next row.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top