[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 233
  • 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

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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