Marc Wingendorf
New Member
Hello guys,
I have a more generic question regarding how excel identifies charts in a worksheet.
I currently am creating a dashboard for our company reporting and have a macro in use that loops through all worksheets in my workbook and in every worksheet through every chart. Every chart gets printed in a PowerPoint I have already safed.
Everything works fine, also due to macros from here, so thank you for that!
Now my problem is that I want the macro to go through my charts in the same order. I thought if I name them Chart 1 - Chart 6 (6 charts in every worksheet) my loop will go through in the correct order, but this doesn't work.
So my question is what point of reference does a 'For Each cht In ActiveSheet.ChartObjects' loop use to identify my charts?
Can somebody help me here? If you need further information on my code please let me know!
Best regards from Munich, Germany to all of you!
______________________________________________________________
I have a more generic question regarding how excel identifies charts in a worksheet.
I currently am creating a dashboard for our company reporting and have a macro in use that loops through all worksheets in my workbook and in every worksheet through every chart. Every chart gets printed in a PowerPoint I have already safed.
Everything works fine, also due to macros from here, so thank you for that!
Now my problem is that I want the macro to go through my charts in the same order. I thought if I name them Chart 1 - Chart 6 (6 charts in every worksheet) my loop will go through in the correct order, but this doesn't work.
So my question is what point of reference does a 'For Each cht In ActiveSheet.ChartObjects' loop use to identify my charts?
Can somebody help me here? If you need further information on my code please let me know!
Best regards from Munich, Germany to all of you!
______________________________________________________________
Mod edit : thread moved to appropriate forum !