Solved

# Lines change colors

Posted on 2014-09-06
74 Views
Folks,
In the attached w/b cells A24:A27 on the Menu tab, when clicked on change to a blue. Lines below that don't and I'm at a lost on why.
Excel-Dashboards-Rev.xlsm
0
Question by:Frank Freese
• 2

LVL 46

Accepted Solution

Martin Liss earned 450 total points
ID: 40308197
In the Worksheet_SelectionChange event for the Menu sheet

change this
'If Not Intersect(ActiveCell, Range("A3:A" & Sheets("Topics").Range("Category").Rows.Count + 2)) Is Nothing Then

to this
If Not Intersect(ActiveCell, Range("A3:A23")) Is Nothing Then
0

LVL 12

Assisted Solution

James Elliott earned 50 total points
ID: 40308323
Formulas=>Name Manager

This defines the range 'Category' on the topics sheet. This gives a row count of 25.

This is what defines the 'turn blue' range on your main sheet.

This would work fine had the vertical scroll not been added, which limits the actual length of the list to 21 lines.
0

Author Comment

ID: 40308642
thanks for - Martin you nailed it. Appreciate your input Jell
0

Author Closing Comment

ID: 40308644
thank you kindly
0

## Featured Post

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

### Suggested Solutions

Freeze panes is an option within all variants of Excel to enable parts of a sheet to remain stationary when the cursor is in another part of the sheet. This is a very useful feature which is overlooked or under used.
Do you use a spreadsheet like Microsoft's Excel?  Have you ever wanted to link out to a non excel file on your computer or network drive?  This is the way I found to do it!
The viewer will learn how to create a normally distributed random variable in Excel, use a normal distribution to simulate the return on an investment over a period of years, Create a Monte Carlo simulation using a normal random variable, and calculâ€¦
This Micro Tutorial will demonstrate how to use longer labels with horizontal bar charts instead of the vertical column chart.