Mrrrr's Forum (VIEW ONLY)
Un forum care ofera solutii pentru unele probleme legate in general de PC. Pe langa solutii, aici puteti gasi si alte lucruri interesante // A forum that offers solutions to some PC related issues. Besides these, here you can find more interesting stuff.
Lista Forumurilor Pe Tematici
Mrrrr's Forum (VIEW ONLY) | Reguli | Inregistrare | Login

POZE MRRRR'S FORUM (VIEW ONLY)

Nu sunteti logat.
Nou pe simpatie:
Anne98 pe Simpatie.ro
Femeie
25 ani
Buzau
cauta Barbat
25 - 50 ani
Mrrrr's Forum (VIEW ONLY) / Tutoriale si Ghiduri Utile // Tutorials and useful guides / [EXCEL] Center Chart Title [VBA] Moderat de TRaP, TonyTzu
Autor
Mesaj Pagini: 1
TRaP
Moderator

Inregistrat: acum 6 ani
Postari: 787
Source (post #7)

Adapted to work on selected chart, regardless of title text:



Sub CenterChartTitle()
Dim titleTop As Single

With ActiveChart
    With ActiveChart.ChartTitle
        titleTop = .Top
    End With
    .SetElement (msoElementChartTitleCenteredOverlay)
    .ChartTitle.Top = titleTop
End With
End Sub


pus acum 5 ani
   
Pagini: 1  

Mergi la