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
-
Login issues with Windows Hello
by
CWBillow
38 minutes ago -
How to get into a manual setup screen in 2024 Outlook classic?
by
Tex265
44 minutes ago -
Linux : ARMO rootkit “Curing”
by
Alex5723
5 hours, 37 minutes ago -
Employee monitoring app leaks 21 million screenshots in real time
by
Alex5723
5 hours, 43 minutes ago -
Google AI is now hallucinating idioms
by
Alex5723
6 hours, 15 minutes ago -
april update
by
69800
2 hours, 13 minutes ago -
Windows 11 Insider Preview build 27842 released to Canary
by
joep517
7 hours, 9 minutes ago -
Quick Fix for Slowing File Explorer
by
Drcard:))
7 hours, 22 minutes ago -
WuMgr not loading?
by
LHiggins
7 hours, 57 minutes ago -
Word crashes when accessing Help
by
CWBillow
2 hours, 6 minutes ago -
New Microsoft Nag — Danger! Danger! sign-in to your Microsoft Account
by
EricB
7 hours ago -
Blank Inetpub folder
by
Susan Bradley
4 hours, 25 minutes ago -
Google : Extended Repair Program for Pixel 7a
by
Alex5723
17 hours, 32 minutes ago -
Updates seem to have broken Microsoft Edge
by
rebop2020
3 hours, 57 minutes ago -
Wait command?
by
CWBillow
10 hours, 48 minutes ago -
Malwarebytes 5 Free version manual platform updates
by
Bob99
1 day ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
1 day, 6 hours ago -
Windows 10 finally gets fix
by
Susan Bradley
1 day, 15 hours ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
1 day, 17 hours ago -
How to use Skype after May?
by
Joann
1 hour, 19 minutes ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
1 day, 11 hours ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
2 days, 6 hours ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
2 days, 6 hours ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
5 hours, 58 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
12 hours, 10 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
2 days, 18 hours ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
2 days, 22 hours ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
2 days, 22 hours ago -
Unable to eject external hard drives
by
Robertos42
1 day, 8 hours ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
20 hours, 18 minutes 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.