Go Premium for a chance to win a PS4. Enter to Win

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 231
  • Last Modified:

Excel VBA: Finding currently selected series

I want to write code that will effect the current selected series on a line graph in Excel.

What VBA code would I need that would display the currently selected series number, when a user presses a button.

i.e. if a user has "Series 1" selected on the graph, then a messagebox will appear saying "you have Series 1 selected"

i.e. if user has "Series 2" selected, then a messagebox will appear saying "you have Series 2 selected"
0
ouestque
Asked:
ouestque
1 Solution
 
Saqib Husain, SyedEngineerCommented:
MsgBox Selection.Name
0

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Tackle projects and never again get stuck behind a technical roadblock.
Join Now