I wrote a piece of code for my company about a year ago. This year i got a new laptop and the same piece of code is causing new behaviour. I ran the same code on an older desktop and it runs fine.
In my workbook, the user selects an option from a drop-down menu. This triggers the ComboboxX_Click() code which calls a function stored in a module. In this function is the following line that i've isolated as the problem.
With the older version of Excel, this code executes and it moves on to the next line of code below and everything is well. In the new version, the code is executed as well, but it then goes back to the original ComboboxX_Click() code and causes the code to start all over and this inevitably causes an error somewhere down the line.
I don't think the error is important, what i need to know is why the action of hiding these rows triggers the original ComboboxX_Click() code again. It may be imortant that the rows i'm hiding are part of the combobox ListFilRange which is set using a named range.
Old Excel Version (Executes fine)
Microsoft(R)Excel2002(10.6832.6830) SP3
New Excel Version (Does not Execute properly)
Microsoft(R)Excel(11.8169.8172) SP3
Help greatly appreciated. Even a different command to hide rows may work if it behaves slightly different so if anyone knows of another line of code to hide rows, that may work as well.
Cheers
Schwizer
Bookmarks