Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default funny calculations

Hi everyone,

I'm working in Excel 2003 and I have a workbook with a dropdown box on it.
In this particular situation the dropdown is disabled and not visible.

Where I have Calculate in my VBA or when I switch the calculation mode
between manual and automatic it seems the code thinks the dropdown box has
changed and it runs the code associated with such a change.

Any ideas?
TIA
big t

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default funny calculations

Generally we need to have a global variable that will skip the dropdow
code using something like :-


Code
-------------------
Sub DropDown1_Change()
If DropDownDisable = True Then Exit Sub
' other code
End Sub

-------------------


--
Message posted from http://www.ExcelForum.com

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default funny calculations

Put your event code in the click event rather than the change event.

--
Regards,
Tom Ogilvy

"big t" wrote in message
...
Hi everyone,

I'm working in Excel 2003 and I have a workbook with a dropdown box on it.
In this particular situation the dropdown is disabled and not visible.

Where I have Calculate in my VBA or when I switch the calculation mode
between manual and automatic it seems the code thinks the dropdown box has
changed and it runs the code associated with such a change.

Any ideas?
TIA
big t



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 40
Default funny calculations

thanks for your suggestions, i'll try them out...

cheers
big t


"big t" wrote:

Hi everyone,

I'm working in Excel 2003 and I have a workbook with a dropdown box on it.
In this particular situation the dropdown is disabled and not visible.

Where I have Calculate in my VBA or when I switch the calculation mode
between manual and automatic it seems the code thinks the dropdown box has
changed and it runs the code associated with such a change.

Any ideas?
TIA
big t

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
How funny can XL be? Pecoflyer[_3_] Excel Discussion (Misc queries) 5 November 3rd 08 11:42 AM
<%<%<%<%HOW TO BE FUNNY!<%<%<%<% Expert Humor Charts and Charting in Excel 0 March 31st 06 07:11 AM
<%<%<%<%HOW TO BE FUNNY!<%<%<%<% Expert Humor Excel Worksheet Functions 0 March 31st 06 06:56 AM
<%<%<%<%HOW TO BE FUNNY!<%<%<%<% Expert Humor Excel Discussion (Misc queries) 0 March 31st 06 06:54 AM
FUNNY BUTTON GREG CARTER Excel Programming 1 February 1st 04 03:32 PM


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