ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Skip cells with TAB/SHIFT+TAB but allow arrow keys/mouse selection of skipped cells (https://www.excelbanter.com/excel-programming/331046-skip-cells-tab-shift-tab-but-allow-arrow-keys-mouse-selection-skipped-cells.html)

Wescotte

Skip cells with TAB/SHIFT+TAB but allow arrow keys/mouse selection of skipped cells
 
I would like to allow the user to skip specific cells/rows/columns by
jumping around a form with the TAB/SHIFT+TAB keys but I would like to
also allow the user to specifically select these skiped cells if they
desire to by using the arrow keys or the mouse.

I am currently using

Private Sub Worksheet_SelectionChange(ByVal Target As Excel.Range)

in order to evaluate the current selection and what should be skipped.

Thanks
Eric


Wescotte

Skip cells with TAB/SHIFT+TAB but allow arrow keys/mouse selection of skipped cells
 
Well, looks like I figured it out again.. I used the
Application.Onkey(...) to catch TAB/SHIFT TAB and LEFT/RIGHT arrows.



All times are GMT +1. The time now is 10:09 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com