Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default ComboBoxes and Tabbing

I am new to VBA programming in Excel and I have a question 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

The 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

Thanks in Advance
Ryan
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default ComboBoxes and Tabbing

Genearlly, you can't tab into a combobox - of course that just restates what
you have already said.

The best you could do would be to use a macro to activate the combobox based
on user actions.

--
Regards,
Tom Ogilvy


"Ryan" wrote in message
...
I am new to VBA programming in Excel and I have a question 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.

The 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.

Thanks in Advance,
Ryan



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 770
Default ComboBoxes and Tabbing

Ryan,

Could you just use data validation in cells? Like a combobox it allows you
to use a range of cells as allowed values. You could then tab into them.
On the other hand, it won't automatically show all the choices (at least not
that I know of) and it won't try to autocomplete.

Just a thought.

Doug

"Ryan" wrote in message
...
I am new to VBA programming in Excel and I have a question 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.

The 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.

Thanks in Advance,
Ryan



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 46
Default ComboBoxes and Tabbing

Tom

Thank you for helping me with all of my excel dilemas. Do you think you could provide me with an example of a Macro that would accomplish this feat

Ryan
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
comboboxes [email protected] uk Excel Discussion (Misc queries) 1 December 6th 09 05:07 PM
Comboboxes mr-bear New Users to Excel 1 November 21st 06 10:05 AM
Need help with ComboBoxes. rosemary New Users to Excel 2 July 9th 05 12:19 AM
Comboboxes Angeliki Excel Programming 1 March 3rd 04 12:00 PM
Comboboxes David W[_3_] Excel Programming 1 August 29th 03 11:13 PM


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

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"