Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I run a macro with a line that changess a cell also linked to a ComboBox.
After changing this cell, the ComboBox code is called, undesiredly. How do I disable the calling of ComboBox code from a macro that changes the ComboBox linked cell? Thanks. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I don't think you can.
You could drop the linkedness and do everything in code. or you could declare a public variable in a General module and do something like: Public BlkProc as boolean sub yoursub() blkproc = true activesheet.range("a1").value = "hi" blkproc = false end sub Then in the combobox code: sub comboboxsub() if blkproc then exit sub 'just get out 'your code here end sub hmm wrote: I run a macro with a line that changess a cell also linked to a ComboBox. After changing this cell, the ComboBox code is called, undesiredly. How do I disable the calling of ComboBox code from a macro that changes the ComboBox linked cell? Thanks. -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
HELP...Draging cell without changing Formula linked to cell | Excel Discussion (Misc queries) | |||
VLOOKUP anchored cell reference changing when macro runs | Excel Discussion (Misc queries) | |||
Changing the format of a cell after choosing from a combobox. | Excel Discussion (Misc queries) | |||
VLOOKUP, linked cell &combobox | Excel Worksheet Functions | |||
how do i record changing cell data (cell is dde linked) | Excel Discussion (Misc queries) |