Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default ComboBox changes text when switching tabs

I would remove the linkedcell and listfillrange and manage the combobox
just with code and see if that helps.

--
Regards,
Tom Ogilvy

"Gabor G" wrote in message
...
Tom, I meant the value of the combobox.

The LinkedCell is set : V20
ListFillRange is set: X1:X19
Everything seems fine there.

I don't have a code changing the value of the combobox, however I tried to
jig one up to change it BACK to what it should be.
There is another code changing the source range of the two graphs using a
Select Case instruction based upon the value of the ComboBox..

Wait a minute, there is something funny he
I opened the same file on another computer (Excel'97) and it works fine
first, but then Excel hangs after playing with the file for some time.

It's
either a failure in excel.exe, or in MSO97.dll. This is the case on both
pc-s by the way.
Maybe I do something very wrong in some of the codes...

Not sure what to do next.

Gabor


"Tom Ogilvy" schrieb im Newsbeitrag
...
To the best of my knowledge, a combobox from the control toolbox toolbar
does not have a caption - do you mean the value of the combobox changes.
that can be changed with code or it can be changed by linking it to a

cell
(or by manually changing the selection). If you have code for changing

its
value, I would look there. If you change the listindex, that could be a
contributor.

--
Regards,
Tom Ogilvy




"Gabor G" wrote in message
...
Guys, I'm struggling with a ComboBox control: it changes it's content,

or
caption, or text every time the user switches to another sheet and

switches
back to the sheet where the ComboBox is. It is rather awkward, because
changing the ComboBox changes two graphs on the sheet "Report". The

ComboBox
acts like a heading to the graphs, whilst the second sheet "List"

contains
the details for the graphs.

First the user selects a department name from the combobox, that calls

the
data of that department to appear on the graphs.
Then the user clicks a field on the "Report" , that leads him/her to

the
sheet "List", where she/he can view the detailes of the selected

department
with a help of a UserForm.

When the user goes back to the sheet "Report" guess what, the

departmental
name is changed in the ComboBox, but the ghaph still shows the data of

the
previously selected department: confusion starts, people call, etc.

Anyway, the ComboBox changes the caption and I have no clue how to

control
it.

This is an Excel 2000 program.

I'd appreciate your suggestions...

Gabor









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
Need Help with Switching Tabs in Excel Latency Razor7Tech Excel Discussion (Misc queries) 0 February 19th 09 11:09 PM
Switching tabs shortcut Monkey-See, Monkey-Do Excel Discussion (Misc queries) 3 June 17th 08 01:12 PM
Switching Text Felix Excel Discussion (Misc queries) 4 May 24th 07 01:33 PM
Is there a shortcut key for switching between tabs in a workbook wwaller Excel Discussion (Misc queries) 4 March 5th 07 06:40 PM
Switching tabs Gor_yee Excel Discussion (Misc queries) 1 February 15th 07 10:57 AM


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