-
WSChance1234
AskWoody Loungerthat doesnt have the desired effect.
-
WSChance1234
AskWoody Lounger[indent]
‘—————-Footer Section ——————————————-
‘————–remove protection———————–
If ActiveDocument.ProtectionType wdNoProtection Then
ActiveDocument.Unprotect
End IfIf foot_add = True Then
‘————————————–Add Footer text————-
If foot_page = True Then ‘———–show text on first page
ActiveDocument.PageSetup.DifferentFirstPageHeaderFooter = True
ActiveDocument.Sections(1).Footers(wdHeaderFooterFirstPage).Range.Text = txtourref.Text
ActiveDocument.Sections(1).Footers(wdHeaderFooterFirstPage).Range.ParagraphFormat.Alignment = wdAlignParagraphCenter
ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range.Text = txtourref.Text
ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range.ParagraphFormat.Alignment = wdAlignParagraphCenter
Else ‘———— dont show footer text on first page
ActiveDocument.PageSetup.DifferentFirstPageHeaderFooter = True
ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range.Text = txtourref.Text
ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).Range.ParagraphFormat.Alignment = wdAlignParagraphCenter
End If‘————————————-Add Page Numbers————-
End If
If foot_num = True Then
If foot_first = True Then ‘———–show number on first pageActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).PageNumbers.Add PageNumberAlignment:= _
wdAlignPageNumberRight, FirstPage:=True
Else ‘—————-don’t show number on first page
ActiveDocument.Sections(1).Footers(wdHeaderFooterPrimary).PageNumbers.Add PageNumberAlignment:= _
wdAlignPageNumberRight, FirstPage:=False
End If
End If‘———–reprotect————
ActiveDocument.Protect Type:=wdAllowOnlyFormFields, _
noreset:=True
‘—————————-
[/indent]
This is where i am so far, this works exactly how i want except for the combination
Show Footer = true
Show page numbers = true
show page numbers on first page = true
show footer on first page = false -
WSChance1234
AskWoody LoungerThis code is called when the user creates a new document from one of their templates. There is a custom toolbar which they use to load these templates.
when they choose a template, a form pops up asking them if they want to include X/Y/Z in the document and also creates a reference. at the bottom of this form is the section I am working on.
With the option “show footer” This puts the reference generated by the form , into the footer of the document with the option whether to show this on the first page or not.
-
WSChance1234
AskWoody LoungerHi wendell,
good advice, main reason i have been putting off the splitting of the database is due to their roll out policies at the place i work (who makes up these things ?) but hoping to do that soon.
I’ve been keeping a log of whoes logged in and when the system has been locking, have noticed a definate pattern there so going round to them today to give them a clip round the ear ole.
-
WSChance1234
AskWoody LoungerHi wendell,
good advice, main reason i have been putting off the splitting of the database is due to their roll out policies at the place i work (who makes up these things ?) but hoping to do that soon.
I’ve been keeping a log of whoes logged in and when the system has been locking, have noticed a definate pattern there so going round to them today to give them a clip round the ear ole.
-
WSChance1234
AskWoody LoungerModify is read/write/delete
-
WSChance1234
AskWoody LoungerModify is read/write/delete
-
WSChance1234
AskWoody LoungerTrying to find where i read it now but apparently a frequently set screensaver can cause problems,
in answer to your questions,
The database is being opened by a shortcut on the user’s desktop
All users have modify permissions on the folder
Single database in a shared location (soon to be split)The error is coming up about two or three times a day when users are loggin in. There are about 12 user’s using the database.
-
WSChance1234
AskWoody LoungerTrying to find where i read it now but apparently a frequently set screensaver can cause problems,
in answer to your questions,
The database is being opened by a shortcut on the user’s desktop
All users have modify permissions on the folder
Single database in a shared location (soon to be split)The error is coming up about two or three times a day when users are loggin in. There are about 12 user’s using the database.
-
WSChance1234
AskWoody Loungerhad a feeling that would be the reply,
-
WSChance1234
AskWoody Loungerhad a feeling that would be the reply,
-
WSChance1234
AskWoody Loungerspot on tony
-
WSChance1234
AskWoody Loungerspot on tony
-
WSChance1234
AskWoody Loungerjust a not too important note,
see small hint further up,
Land of og shares the same shores”!
also a variation on the game is that the subject of the land of og doesnt have to be the same each time , part of the fun is trying to work out what the land of og is for example i could start a game with the following
In the Land of og there is Abraham but no Franklin
In the land of og there are tigers but no lions
In the land of og there are scorpions but no beatlesalso if your playing it with the drink while you think rule can get you quite merry
-
WSChance1234
AskWoody Loungerjust a not too important note,
see small hint further up,
Land of og shares the same shores”!
also a variation on the game is that the subject of the land of og doesnt have to be the same each time , part of the fun is trying to work out what the land of og is for example i could start a game with the following
In the Land of og there is Abraham but no Franklin
In the land of og there are tigers but no lions
In the land of og there are scorpions but no beatlesalso if your playing it with the drink while you think rule can get you quite merry
![]() |
Patch reliability is unclear. Unless you have an immediate, pressing need to install a specific patch, don't do it. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

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
-
*Some settings are managed by your organization
by
rlowe44
3 hours, 28 minutes ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
5 hours, 42 minutes ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
6 hours, 7 minutes ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
15 hours, 7 minutes ago -
AI slop
by
Susan Bradley
14 hours, 18 minutes ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
16 hours, 24 minutes ago -
Two blank icons
by
CR2
1 hour, 58 minutes ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 1 hour ago -
End of 10
by
Alex5723
1 day, 3 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
1 hour, 53 minutes ago -
test post
by
gtd12345
1 day, 9 hours ago -
Privacy and the Real ID
by
Susan Bradley
1 day ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
16 hours, 13 minutes ago -
Cant log on to oldergeeks.Com
by
WSJonharnew
1 day, 14 hours ago -
Upgrading from Win 10
by
WSjcgc50
2 hours, 3 minutes ago -
USB webcam / microphone missing after KB5050009 update
by
WSlloydkuhnle
5 hours, 36 minutes ago -
TeleMessage, a modified Signal clone used by US government has been hacked
by
Alex5723
2 days, 6 hours ago -
The story of Windows Longhorn
by
Cybertooth
1 day, 17 hours ago -
Red x next to folder on OneDrive iPadOS
by
dmt_3904
2 days, 7 hours ago -
Are manuals extinct?
by
Susan Bradley
1 hour, 39 minutes ago -
Canonical ditching Sudo for Rust Sudo -rs starting with Ubuntu
by
Alex5723
2 days, 17 hours ago -
Network Issue
by
Casey H
2 days, 4 hours ago -
Fedora Linux is now an official WSL distro
by
Alex5723
3 days, 5 hours ago -
May 2025 Office non-Security updates
by
PKCano
3 days, 5 hours ago -
Windows 10 filehistory including onedrive folder
by
Steve Bondy
3 days, 7 hours ago -
pages print on restart (Win 11 23H2)
by
cyraxote
2 days, 8 hours ago -
Windows 11 Insider Preview build 26200.5581 released to DEV
by
joep517
3 days, 9 hours ago -
Windows 11 Insider Preview build 26120.3950 (24H2) released to BETA
by
joep517
3 days, 9 hours ago -
Proton to drop prices after ruling against “Apple tax”
by
Cybertooth
3 days, 17 hours ago -
24H2 Installer – don’t see Option for non destructive install
by
JP
2 hours, 9 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.