Ciao a tutti,
vorrei formattare il carattere di un testo presente nel pič di pagina,che ho inserito in automatico tramite la macro.
Nella cella di riferimento il carattere č formattato come Century Gothic, 14. Quando viene riportato nel pič di pagina, vorrei che diventasse (in automatico) Century Gothic, 8.
Ho provato a inserire questa macro, ma mi compare errore di run time "424" oggetto mancante e segnala la seconda stringa del codice (in rosso).
Qualcuno puņ indicarmi dove ho sbagliato e come correggere il codice?
Grazie mille in anticipo.
Private Sub Workbook_BeforePrint(Cancel As Boolean)
For Each fg In ThisWorkbook.Sheets
fg.PageSetup.RightFooter = Sheets("Preventivo").Range("F1").Value & " - " & Sheets("Preventivo").Range("E2").Value
fgPageSetup.RightFooter = "&""Century Gothic,Normale""&8""
Next fg
End Sub