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: 92
Default Annoying Problem

I have a workbook which contains 5 sheets all with 3 combo boxes that popup
over a cell when selected. The user then selects from the lists, which are
defined names from 2 lookup sheets. The code for the 3 combo boxes is
identical in each sheet and all combobox1 's use the the same defined array
in
the lookup sheets and so on for the other 2. The user can add to the array
used in the ComboBox by clicking a CommandButton that takes them to the
lookup sheet concerned.

Anyway the problem I am having is, if any one of the comboboxes is left on a
cell where a selection was made (this applies to all 5 sheets) and the user
hits the command button to take them to the lookup sheet to add to the
available list, when an entry is typed into a cell, within the range of the
array, and the enter key is hit, the value of the cell where the combobox was
left (in any of the 5 sheets) appears in the cell removeing the value that
has just been entered.

This is really annoying. Currently I have advised the users to 'park' the
combobox over a blank cell and don't make a selection. This has to be true
for all 5 sheets.
Is there a property in the combobox of a bit of code I can add to stop this
from happening

A question has just come to mind - if the code for the combo boxes was
contained in the 'This Workbook' section of the VB project, would that negate
the need to duplicate the code in each sheet? So I could still have combox1
on the 5 pages but only have one instance of the control code.

Please let me know if anything needs clarifying.

Thanks in advance for any help offered
 
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
Annoying problem saving sheet w/macros as CSV David Nebenzahl Excel Discussion (Misc queries) 11 December 13th 07 08:35 PM
Annoying problem inserting numbers into cells David Nebenzahl Excel Discussion (Misc queries) 3 October 24th 07 07:12 AM
Annoying problem Barney Excel Discussion (Misc queries) 3 March 17th 06 12:47 PM
very annoying problem Please help Frank New Users to Excel 8 September 11th 05 08:18 PM
Annoying bug. Shunt Excel Programming 1 August 7th 03 02:05 PM


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