-
WSgeofrichardson
AskWoody LoungerHi Ian
There was a wizard in Access 97 that found unmatched data …
Your solution will probably involve two key elementsa left join
&
a condition where somefieldName is Nulle.g
SELECT distinctrow tbl_x.fieldName FROM
tbl_x LEFT JOIN tbl_y ON
tbl_x.fieldName = tbl_y.fieldName
WHERE tbl_y.fieldName IS NULL;It is easier with teh Wizard
Cheers
Geof -
WSgeofrichardson
AskWoody LoungerHi John
Have you checked to ensure that there are no criteria in either word or Access that are limiting the dataset …
Word MailMerge Query Options …
An Access query.
After that I would need more info on the datasource.
Is it a table, a query, if related tables are the relationships correct etc …Cheers
Geof -
WSgeofrichardson
AskWoody LoungerHi
It is my belief that you should be more explict in you select statement. Select * selects all fields.In the FROM clause you can specify a field even if you havent explicitly named it in the select clause.
e.g
———
SELECT tblProperty.Address1, tblProperty.Town, tblPropHazard.Hazard, tblOwnershipDetails.OwnerID
FROM (tblProperty INNER JOIN tblPropHazard ON tblProperty.PropId = tblPropHazard.PropId) INNER JOIN (tblOwners INNER JOIN tblOwnershipDetails ON tblOwners.OwnerId = tblOwnershipDetails.OwnerID) ON tblProperty.PropId = tblOwnershipDetails.PropId;
————————Note that tblProperty.PropID is not explicitly listed in the select clause.
Hope I have helped
Geof -
WSgeofrichardson
AskWoody LoungerThanks for the ideas and the references ..
I think I have got around the problem like this
sub autonew
For each field in activedocument.fields
field.update
next
end subIf this doesnt work then back to userforms …
Many thanks
I find your sites very useful and appreciate the lounge immenselyGeof
-
WSgeofrichardson
AskWoody LoungerHi Deborah
Try this userdefined functionFunction CountDateBetween(inRange, minDate As Date, maxDate As Date)
Dim MinCtr, MaxCtr As Integer ‘counter for dates exceeding limits
MinCtr = Application.CountIf(inRange, “>=” & minDate)
MaxCtr = Application.CountIf(inRange, “>” & maxDate)
CountDateBetween = MinCtr – MaxCtr
End FunctionCopy & paste into the personal workbook macros. This workbook is normally hidden.
You will be then able to invoke thefunction using the function wizard (fx button) from the user defined category.Cheers
Geof -
WSgeofrichardson
AskWoody Lounger -
WSgeofrichardson
AskWoody LoungerHi
This is crude but it may work for youAssume Birthday in a1
Calc Age in a2 with=(today()-a1)/365
You will need to format A2 a number, say two decimal places.
There are far more sophisticated calculations about.Cheers
Geof -
WSgeofrichardson
AskWoody LoungerHi
I cant help with the MAPI, all I know is that MicSoft doesnt make it easy to coHabitate
Try this sitehttp://www.novell.com/coolsolutions/gwmag/
Cheers
Geof -
WSgeofrichardson
AskWoody LoungerHi
One way of achieving this would be to bookmark separately the entries in the Name & address blocks of the letter. I used the bookmark Names “Name” & “Address”.In the header / footer of section 2 of the document use the ref field and the bookmark name
eg {ref Name}
{ref Address}Insert a field with INSERT>Field or CTRL+F9
Hope this helps
Geof -
WSgeofrichardson
AskWoody LoungerSorry
Gave a response for AutoText …Try article Q186237 on the MicSoft support knowledge base
Cheers
Geof -
WSgeofrichardson
AskWoody LoungerHi
I go into the organiser (from FORMAT>Style) choose the autotext tab, select the appropriate template and create multiple selection in the autotext list and delete …
All or some at one shot.
Cheers
GeofPS Microsoft have a macro (Macro8), I think that contains a routine to back up / rstore autotext/correct entries.
-
WSgeofrichardson
AskWoody LoungerHi Meryl
Has anyone been messing around customizing formatting styles and subsequently merged them into the default template ?Geof
-
WSgeofrichardson
AskWoody LoungerHi
The following should loop thru the directory open/close each of the documents. No guarantees though.
============================================
sub loopingLabels
Dim FS
Dim i As Integer
Set FS = Application.FileSearch
Dim strFileName()
Application.ScreenUpdating = FalseWith FS.PropertyTests
.Add Name:=”Files of Type”, _
Condition:=msoConditionFileTypeWordDocuments, _
Connector:=msoConnectorOr
End WithWith FS
‘ set you path here in the lookIn statement
.LookIn = “C:DataWordDocs”
ReDim strFileName(FS.FoundFiles.Count)
MsgBox (FS.FoundFiles.Count)’optional lineIf .Execute(SortBy:=msoSortByFileName, _
SortOrder:=msoSortOrderAscending) > 0 Then
For i = 1 To .FoundFiles.Count
strFileName(i) = .FoundFiles(i)
Documents.Open (strFileName(i))
‘———————————————–
‘do something here to make label ??
‘———————————————–
ActiveDocument.Close SaveChanges:=wdDoNotSaveChanges
Next i
Else
MsgBox “There were no files found.”
End If
End With
Set FS = Nothing
End Sub
================================================
I hope this is a starter, sorry about the do something here to make labels.
It is all smoke & mirrors !!Cheers
G -
WSgeofrichardson
AskWoody LoungerHi
Just a crazy from the antipodes ..
What happens if you change keyboards ?
Clutching at straws !! maybe but I guess you are excited by now.Geof
-
WSgeofrichardson
AskWoody LoungerHi Jefferson
Thank you for that. I will give it a try.
However that CDO.DLL is not listed on the system that is working.
This is a learning experience ..
Geof
![]() |
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
-
Windows 11 Insider Preview Build 26100.3902 (24H2) released to Release Preview
by
joep517
1 hour, 48 minutes ago -
Oracle kinda-sorta tells customers it was pwned
by
Nibbled To Death By Ducks
7 hours, 49 minutes ago -
Global data centers (AI) are driving a big increase in electricity demand
by
Kathy Stevens
18 hours, 9 minutes ago -
Office apps read-only for family members
by
b
20 hours, 45 minutes ago -
Defunct domain for Microsoft account
by
CWBillow
17 hours, 37 minutes ago -
24H2??
by
CWBillow
7 hours, 49 minutes ago -
W11 23H2 April Updates threw ‘class not registered’
by
WindowsPersister
2 hours, 3 minutes ago -
Master patch listing for April 8th, 2025
by
Susan Bradley
2 hours, 16 minutes ago -
TotalAV safety warning popup
by
Theodore Nicholson
5 minutes ago -
two pages side by side land scape
by
marc
2 days, 18 hours ago -
Deleting obsolete OneNote notebooks
by
afillat
2 days, 20 hours ago -
Word/Outlook 2024 vs Dragon Professional 16
by
Kathy Stevens
1 day, 23 hours ago -
Security Essentials or Defender?
by
MalcolmP
2 days, 2 hours ago -
April 2025 updates out
by
Susan Bradley
2 hours, 27 minutes ago -
Framework to stop selling some PCs in the US due to new tariffs
by
Alex5723
1 day, 19 hours ago -
WARNING about Nvidia driver version 572.83 and 4000/5000 series cards
by
Bob99
1 day, 9 hours ago -
Creating an Index in Word 365
by
CWBillow
2 days, 12 hours ago -
Coming at Word 365 and Table of Contents
by
CWBillow
1 day ago -
Windows 11 Insider Preview Build 22635.5170 (23H2) released to BETA
by
joep517
3 days, 15 hours ago -
Has the Microsoft Account Sharing Problem Been Fixed?
by
jknauth
3 days, 19 hours ago -
W11 24H2 – Susan Bradley
by
G Pickerell
3 days, 20 hours ago -
7 tips to get the most out of Windows 11
by
Alex5723
3 days, 18 hours ago -
Using Office apps with non-Microsoft cloud services
by
Peter Deegan
3 days, 12 hours ago -
I installed Windows 11 24H2
by
Will Fastie
1 day, 18 hours ago -
NotifyIcons — Put that System tray to work!
by
Deanna McElveen
4 days ago -
Decisions to be made before moving to Windows 11
by
Susan Bradley
30 minutes ago -
Port of Seattle says ransomware breach impacts 90,000 people
by
Nibbled To Death By Ducks
4 days, 8 hours ago -
Looking for personal finance software with budgeting capabilities
by
cellsee6
3 days, 16 hours ago -
ATT/Yahoo Secure Mail Key
by
Lil88reb
3 days, 17 hours ago -
Devices with apps using sprotect.sys driver might stop responding
by
Alex5723
5 days, 1 hour 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.