andrewb90
Well-known Member
- Joined
- Dec 16, 2009
- Messages
- 1,077
Hello all,
I have this code in place:
Now, I have several more areas of the sheet where the same thing applies as well (just different ranges). I just added the bold font line, and now every time I click in a cell in the range, I see my mouse turning as it loads (briefly, less than half a second), but I am not sure why there is a lag. I can't really think that doing this little would cause excel to slow down, so I'm at a loss. I can send the entire code as I currently have it, if that would help.
One other point to mention, is when I added the bold font to just one of the ranges, I had no trouble, when I did it to all 8 (will have 14 sections total), that is when I found a lag in the response.
Any thoughts would be greatly appreciated!
Andrew
I have this code in place:
Code:
Range("G18:M28").Interior.Color = xlNone Range("G18:M28").Font.Bold = False
Set S = Application.Intersect(Range(Target.Address), Range("G18:M28"))
If Not S Is Nothing Then
Range("G" & Target.Row & ":M" & Target.Row).Interior.ColorIndex = 6 'Yellow
Range("G" & Target.Row & ":M" & Target.Row).Font.Bold = True
End If
One other point to mention, is when I added the bold font to just one of the ranges, I had no trouble, when I did it to all 8 (will have 14 sections total), that is when I found a lag in the response.
Any thoughts would be greatly appreciated!
Andrew
Last edited: