![]() |
|
|
|
#1
|
|||
|
|||
|
Thanks so much, Mr. Graham,
It works perfectly, but just for clarification the page number is placed on the left, although the Code:
oRng.ParagraphFormat.Alignment = wdAlignParagraphRight So I changed it to left to appear on the right (vice versa) Code:
oRng.ParagraphFormat.Alignment = wdAlignParagraphLeft Lastly, Dear Graham, I tried to add custom text using Code:
Dim aRng As range
Set aRng = oFooter.range
aRng.Fields.Add aRng, wdFieldIncludeText, "laith", True
Thanks |
|
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Updating page number in table cells in footer in each page
|
nyconfidential | Word VBA | 1 | 08-13-2022 03:37 PM |
Page number shows up as { PAGE } instead of number and question about area allowed for footer
|
dw85745 | Word | 3 | 01-16-2022 03:19 PM |
| Don't want page number or date in footer on first page, do want graphic in header. | dianahbr | Word | 2 | 02-23-2018 09:25 AM |
Footer for page numbers recently started showing a colored field when adding page numbers
|
thefonebug | Word | 12 | 10-24-2016 05:18 AM |
Total Page number incorrect in the first page footer
|
mmathisekar | Word | 11 | 06-16-2016 06:00 AM |