Hi,
I have a template called "Ziad". The current command I am using now is
I tried to use this command to use the template I created but it didn't work.ChartType = xlXYScatterSmoothNoMarkers
Could you please tell me what is the command I need to use to create a graph from a template?.ChartType = xlXYZiad
try using the ApplyChartTemplate rather than setting the ChartType.
can you explain more what should I write?
I am a beginner in VBA
Did you look in the help?
Did you try recording a macro whilst applying a template to the chart?
Pretty difficult to provide code in context with the code you had already provided.ActiveChart.ApplyChartTemplate ( _ "C:\Users\xxx\AppData\Roaming\Microsoft\Templates\Charts\RS_Main_5.crtx" _ )
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks