Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
How to change chart "window title" (caption) from macro?
Hello Artur,
Try this macro:
sub setChartTitle
set chart = ActiveDocument.GetSheetObject("CH01")
set p = chart.GetProperties
p.GraphLayout.WindowTitle.v = "Title"
chart.SetProperties p
end sub
regards Mark
Hello Artur,
Try this macro:
sub setChartTitle
set chart = ActiveDocument.GetSheetObject("CH01")
set p = chart.GetProperties
p.GraphLayout.WindowTitle.v = "Title"
chart.SetProperties p
end sub
regards Mark
Thanks.
Hi Artur,
You can use the following macro :-
Sub ChangeTitle
set chart = ActiveDocument.GetSheetObject("CH01")
set p = chart.GetProperties
p.GraphLayout.WindowTitle.v = "Hello"
chart.SetProperties p
End Sub
Regards,
- Manish