LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default Lock out a portion of spreadsheet based on a condition

I am new to VBA programming in Excel and I have a couple questions about tabbing through a spreadsheet. My spreadsheet has a top portion where users will input their data and then based on calculations of that data they will get an output on the bottom of the page. I have created a Macro that is assigned to a Button that Resets the information that the users put in. Included in this Macro is a way to protect the worksheet so that the users can only change the cells where their input is necessary. This protection also enables me to set a tab order for how the users navigate the input portion of the worksheet

Now I am having a couple of issues with the tab order. First, in one of the input boxes the users choose between two options (A and B). If they choose option "A" then there is an input section on the spreadsheet that they do not need to fill in (Cells C15:C20,K15:K19). What I would like to accomplish is to have the tab order skip this input section if "A" is selected, but to not skip this input section if "B" is selected

The other issue that I am having has to do with drop down (or combo boxes). I have several of these as input areas for the users. Currently, when the user tabs through the input section of the worksheet they tab to the cell behind the combo box. For instance the tab order places the cursor in cell C9. This is the cell that the combo box is associated with, but the cursor is not in the combo box. So to get the selection that the user wants they either need to go to the mouse, or know exactly what the choice is they want to choose without seeing the options. What I would like to do is be able to tab into the combo box and have it immediately drop down so that the users can see what the selection choices are, then have it so that they can just type the first couple of letters and the choice will be pulled into the combo box, and finally be able to hit the tab key to move onto the next box in my tab order

Any help with this problem will be greatly appreciated

Thanks in advance
Ryan
 
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
Sum portion of column based on row content JeffC Excel Discussion (Misc queries) 2 August 17th 09 10:31 PM
lock cell based on a condition Amanda Excel Worksheet Functions 22 June 25th 07 07:53 PM
How to lock a row in a spreadsheet based on the value in a cell Prasad Excel Worksheet Functions 3 December 16th 05 05:18 PM
how do i copy only a portion of a spreadsheet tazsdad Excel Discussion (Misc queries) 3 December 5th 05 11:15 PM
copy only a portion of a spreadsheet tazsdad Excel Discussion (Misc queries) 0 December 5th 05 10:09 PM


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