m_research6
New Member
- Joined
- Dec 7, 2016
- Messages
- 5
Hi all -
I've been working on creating a simple macro that changes the formatting of the horizontal axis on 9 charts. We have an internal software that refreshes dates always using one format and we want to present those dates in a different format for presentation purposes. What I want to create is a button that someone can click to update the date formatting on those charts. Here's what I've done:
Create macro, go into the "select" data box for each charts' horizontal axis, change the dates by selecting a new worksheet that has just the dates I want, and ending macro after the dates have been applied to the 9 charts.
I then created a shape and assigned my macro to it. Seems like a pretty simple task, but I'm receiving a "run-time the item with the specified name wasn't found" error. See screenshots and VBA code below:
Button --> https://postimg.org/image/3tioyiwax/
Charts horizontal axis I want to change --> https://postimg.org/image/wkfiol24p/
Error --> https://postimg.org/image/pihl2dyix/
New periods I want that are on new tabs --> https://postimg.org/image/4zrab29zd/
VBA code --> https://postimg.org/image/wcwh5tgjt/
Much appreciated to those who can offer feedback/help/direction.
I've been working on creating a simple macro that changes the formatting of the horizontal axis on 9 charts. We have an internal software that refreshes dates always using one format and we want to present those dates in a different format for presentation purposes. What I want to create is a button that someone can click to update the date formatting on those charts. Here's what I've done:
Create macro, go into the "select" data box for each charts' horizontal axis, change the dates by selecting a new worksheet that has just the dates I want, and ending macro after the dates have been applied to the 9 charts.
I then created a shape and assigned my macro to it. Seems like a pretty simple task, but I'm receiving a "run-time the item with the specified name wasn't found" error. See screenshots and VBA code below:
Button --> https://postimg.org/image/3tioyiwax/
Charts horizontal axis I want to change --> https://postimg.org/image/wkfiol24p/
Error --> https://postimg.org/image/pihl2dyix/
New periods I want that are on new tabs --> https://postimg.org/image/4zrab29zd/
VBA code --> https://postimg.org/image/wcwh5tgjt/
Much appreciated to those who can offer feedback/help/direction.