#1   Report Post  
Tami
 
Posts: n/a
Default Tab Button

I've created a spreadsheet and have hidden the cells that I don't intend on
using. When I use the tab button, it will advance along a row until it
reaches the end of the columns I have showing, but what I want to know is how
to get the tab button to advance it to the beginning of the next row when it
comes to the end. Is there a way to do this?
  #2   Report Post  
Bill Kuunders
 
Posts: n/a
Default

one way

enter in the worksheet code

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If ActiveCell.Offset.Column = 8 Then Selection.Offset(1, -7).Select
End Sub

Of course you will have to determine the column number and how far to the
left .
Greetings from New Zealand
Bill K
"Tami" wrote in message
...
I've created a spreadsheet and have hidden the cells that I don't intend
on
using. When I use the tab button, it will advance along a row until it
reaches the end of the columns I have showing, but what I want to know is
how
to get the tab button to advance it to the beginning of the next row when
it
comes to the end. Is there a way to do this?



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
Command Button anomalies RWN Excel Discussion (Misc queries) 5 May 4th 05 05:09 AM
Command Button VBA code Dave Peterson Excel Discussion (Misc queries) 2 January 25th 05 11:28 PM
How to assign a macro to a commnd button Mickey Blue Eyes Excel Discussion (Misc queries) 2 January 4th 05 02:15 PM
command button moves Stuart Excel Discussion (Misc queries) 2 December 15th 04 05:56 PM
How do I setup a spin button in excel Andy K Excel Discussion (Misc queries) 1 November 26th 04 09:08 PM


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