Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Skip cells with Tab/Shift+Tab

How would I go about specifying specific cells/rows/columns to skip
when the user presses tab or shift+tab?

Eric

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,071
Default Skip cells with Tab/Shift+Tab

Leave the cells/rows/columns to be skipped locked. Unlock other cells
(Format | Cells... | Protection tab). Then protect the worksheet
(Tools | Protection Protect Sheet... (might be different in different
versions of XL). In the resulting dialog box, uncheck 'Select locked
cells'.

--
Regards,

Tushar Mehta
www.tushar-mehta.com
Excel, PowerPoint, and VBA add-ins, tutorials
Custom MS Office productivity solutions

In article .com,
says...
How would I go about specifying specific cells/rows/columns to skip
when the user presses tab or shift+tab?

Eric


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Skip cells with Tab/Shift+Tab

Is there any other way to do it? A few problems occur when using this
method. One, attempting do delete entire rows contents doesn't work
because of the protection on the blank cells. Two, after X rows
(somewhere around 10) instead of going to the 11th row it will flip
back up to the 1st.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Skip cells with Tab/Shift+Tab

Hmm nevermind.. I'll just use

Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)

Then simply check the address of the selected cell and if it doesn't
fall into the range I want I'll just move it to the nearest valid cell.

Thanks

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
skip cells with zero values in chart (cells not empty) jhall@ifox Charts and Charting in Excel 3 June 2nd 09 02:11 PM
How do I get an average for 5 when I need to skip cells? Troy H Excel Discussion (Misc queries) 7 February 5th 06 02:21 PM
How do I skip over null cells? Excel Dummy Excel Discussion (Misc queries) 4 January 3rd 06 01:13 PM
How do I skip blank cells when copying over a range of cells? tawells Excel Discussion (Misc queries) 2 June 7th 05 09:36 PM
how to skip the blank cells nayeemoddin Excel Discussion (Misc queries) 1 December 6th 04 07:07 AM


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