|
| HOMEPAGE | INDICE FORUM | REGOLAMENTO | ::. | NEI PREFERITI | .:: | RSS Forum | RSS News | NEWS web | NEWS software | |
| PUBBLICITA' | | | ARTICOLI | WIN XP | VISTA | WIN 7 | REGISTRI | SOFTWARE | MANUALI | RECENSIONI | LINUX | HUMOR | HARDWARE | DOWNLOAD | | | CERCA nel FORUM » | |
06-09-2017, 14.26.11 | #1 |
Newbie
Registrato: 06-10-2016
Messaggi: 12
|
Excel formattare intestazione con VBA
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 |
07-09-2017, 22.42.11 | #2 |
Senior Member
WT Expert
Registrato: 19-05-2007
Loc.: Verona
Messaggi: 1.302
|
Rif: Excel formattare intestazione con VBA
ti ho risposto qui
http://forum.wintricks.it/showpost.p...4&postcount=11
___________________________________
- Il primo fondamento della sicurezza non e' la tecnologia, ma l'attitudine mentale - |
Utenti attualmente attivi che stanno leggendo questa discussione: 1 (0 utenti e 1 ospiti) | |
|
|
Discussioni simili | ||||
Discussione | Autore discussione | Forum | Risposte | Ultimo messaggio |
Corso VBA | Alexsandra | Guide | 85 | 16-11-2016 11.11.51 |
Intestazione di pagina Excel 2003 | Emily | Office suite | 0 | 03-12-2006 05.05.05 |
Formattare celle in Excel con una funzione? | exion | Software applicativo | 2 | 15-06-2004 10.10.36 |
EXCEL: Intestazione | gionny | Software applicativo | 3 | 30-05-2004 03.17.36 |