T
Top Spin
I wrote a little macro to scan various columns in a spreadsheet and
highlight selected cells by changing the color or making them bold.
The macro first loops through each column setting each cell to black
and not bold. At the same time, it examines each value and remembers
the highest and lowest value.
Finally, it changes the max/min cell in each column to bold and either
red or green.
I have been using this macro for several weeks. It has worked
perfectly.
Today, I added some new code, mainly having to do with a new column --
similar processing as with the other columns. For some reason, the
spreadsheet screen "blinks" or "flashes" after almost every macro
operation -- at least after each "Range" command. Prior to today, I
would see the macro scanning the columns because the selection
rectangle would move quickly across the sheet.
The new code is not much different from the old, but now the macro
takes 20 tiems longer to run because of the screen flashing.
Can anyone suggest what might be causing this behavior?
Thanks
highlight selected cells by changing the color or making them bold.
The macro first loops through each column setting each cell to black
and not bold. At the same time, it examines each value and remembers
the highest and lowest value.
Finally, it changes the max/min cell in each column to bold and either
red or green.
I have been using this macro for several weeks. It has worked
perfectly.
Today, I added some new code, mainly having to do with a new column --
similar processing as with the other columns. For some reason, the
spreadsheet screen "blinks" or "flashes" after almost every macro
operation -- at least after each "Range" command. Prior to today, I
would see the macro scanning the columns because the selection
rectangle would move quickly across the sheet.
The new code is not much different from the old, but now the macro
takes 20 tiems longer to run because of the screen flashing.
Can anyone suggest what might be causing this behavior?
Thanks