I have finally developed my “Before Print” footer information just about where I like it. I have the complete pathway down to the tab on the left hand side, the Page of Pages in the center and the Date and Time on the right. OK. But some of the pathways, even on landscape, overwrite the page of pages field. I guess I could amend my left footer with linefeeds to break up that line, but that makes the pathway somewhat harder to read. My question: Is there a way to insert some kindof code for the Center and Right hand side to shift them down a line so that one or both then appear under the extended pathway footer? I have tried putting vbLF and CHR(10)s in there at the beginning of the required “&P of &N” notations, but it didn’t seem to work.TYIA
![]() |
Patch reliability is unclear, but widespread attacks make patching prudent. Go ahead and patch, but watch out for potential problems. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |
-
Complex footer code (Excel 97)
Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Complex footer code (Excel 97)
- This topic has 3 replies, 3 voices, and was last updated 22 years, 1 month ago.
AuthorTopicWSTorquemada
AskWoody LoungerMarch 3, 2003 at 6:43 pm #384212Viewing 2 reply threadsAuthorReplies-
WSsdckapr
AskWoody Lounger -
WSJim Cone
AskWoody LoungerMarch 3, 2003 at 8:18 pm #658292W.C. Fields,
Assign the text to a String variable and then put it in the footer.
Run the following and see how it looks….Sub FixFooter()
Dim MyStr As StringMyStr = “&P of &N”
ActiveSheet.PageSetup.LeftFooter = MyStrMyStr = “&P of &N” & vbCr
ActiveSheet.PageSetup.CenterFooter = MyStrMyStr = “&P of &N” & vbCr & vbCr
ActiveSheet.PageSetup.RightFooter = MyStr
End SubRegards,
Jim Cone
San Francisco, CA -
WSTorquemada
AskWoody Lounger
Viewing 2 reply threads -

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Windows 11 Insider Preview build 26200.5570 released to DEV
by
joep517
4 hours, 27 minutes ago -
Windows 11 Insider Preview build 26120.3941 (24H2) released to BETA
by
joep517
6 hours, 15 minutes ago -
Windows 11 Insider Preview Build 22635.5305 (23H2) released to BETA
by
joep517
6 hours, 17 minutes ago -
No April cumulative update for Win 11 23H2?
by
Peobody
8 hours, 34 minutes ago -
AugLoop.All (TEST Augmentation Loop MSIT)
by
LarryK
6 hours, 48 minutes ago -
Boot Sequence for Dell Optiplex 7070 Tower
by
Serge Carniol
21 hours, 51 minutes ago -
OTT Upgrade Windows 11 to 24H2 on Unsupported Hardware
by
bbearren
1 day, 1 hour ago -
Inetpub can be tricked
by
Susan Bradley
1 day, 2 hours ago -
How merge Outlook 2016 .pst file w/into newly created Outlook 2024 install .pst?
by
Tex265
6 hours, 8 minutes ago -
FBI 2024 Internet Crime Report
by
Alex5723
1 day, 5 hours ago -
Perplexity CEO says its browser will track everything users do online
by
Alex5723
17 hours ago -
Login issues with Windows Hello
by
CWBillow
1 day, 16 hours ago -
How to get into a manual setup screen in 2024 Outlook classic?
by
Tex265
1 day, 4 hours ago -
Linux : ARMO rootkit “Curing”
by
Alex5723
2 days, 3 hours ago -
Employee monitoring app leaks 21 million screenshots in real time
by
Alex5723
2 days, 3 hours ago -
Google AI is now hallucinating idioms
by
Alex5723
2 days, 4 hours ago -
april update
by
69800
8 hours, 48 minutes ago -
Windows 11 Insider Preview build 27842 released to Canary
by
joep517
2 days, 5 hours ago -
Quick Fix for Slowing File Explorer
by
Drcard:))
2 days, 5 hours ago -
WuMgr not loading?
by
LHiggins
1 day, 1 hour ago -
Word crashes when accessing Help
by
CWBillow
1 day, 9 hours ago -
New Microsoft Nag — Danger! Danger! sign-in to your Microsoft Account
by
EricB
2 days, 5 hours ago -
Blank Inetpub folder
by
Susan Bradley
2 days, 2 hours ago -
Google : Extended Repair Program for Pixel 7a
by
Alex5723
2 days, 15 hours ago -
Updates seem to have broken Microsoft Edge
by
rebop2020
2 days, 2 hours ago -
Wait command?
by
CWBillow
2 days, 9 hours ago -
Malwarebytes 5 Free version manual platform updates
by
Bob99
2 days, 22 hours ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
3 days, 5 hours ago -
Windows 10 finally gets fix
by
Susan Bradley
3 days, 13 hours ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
3 days, 15 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.