-
WSitconc
AskWoody LoungerNo Sir, you are not missing anything – I am; or was until I looked at your second reply. I could not see the forest for the trees. I was using the transfer spreadsheet method instead of transfer text.
It is working very well now and I cannot thank you enough – you made my weekend! I can now go outside and enjoy Houston’n sunny warm Sunday.
Thanks again,itconc
-
WSitconc
AskWoody LoungerThanks for your answer.
We use office 2003 – no way to upgrade at this point.
I save the excel file as an htm. The import into Access works great manually.
However, I can not automate the import. I am between a rock and a hard place! -
WSitconc
AskWoody LoungerMost of the text file has a consistent structure:
– If the first two or three characters on a line aren’t spaces, they indicate a field name.
– Text from position 5 on the line forms the field value, together with the text on subsequent lines that start with spaces.
– A line that only consists of three spaces indicates that the next line starts a new record.
It’s possible to write code to convert this to a table with fields L22, AN, TI, IN etc.But there are lines with a completely different structure, such as
Code:FAN.CNT 1 PATENT NO. KIND DATE APPLICATION NO. DATE --------------- ---- -------- -------------------- -------- PI US 7594994 B1 20090929 US 2005-244589 20051006 PRAI US 2005-244589 20051006 ASSIGNMENT HISTORY FOR US PATENT AVAILABLE IN LSUS DISPLAY FORMAT
How should these be converted?
Thanks, Hans
I am not sure where to go from here, but have some ideas after reading your reply. I will play with this and see if I have any more questions. -
WSitconc
AskWoody LoungerThe parentheses aren’t quite correct. Try
=IF(ISERROR(INDEX(lreturn,MATCH(F3,lcc,0))),”Not Found”,INDEX(lreturn,MATCH(F3,lcc,0)))
In fact, you only need to test whether MATCH returns an error:
=IF(ISERROR(MATCH(F3,lcc,0)),”Not Found”,INDEX(lreturn,MATCH(F3,lcc,0)))
That did it. Thanks, Hans
-
WSitconc
AskWoody LoungerWhat was the minor change you made?
It would help if you could attach a copy of the workbook with sensitive information removed or altered.
Thanks to both of you.
Before I got ready to attach the file, I re-did all the column headings and lo and behold that was the problem. The minor change was to add a data series and adjust all the dynamic ranges I had.
Anyway, all is working again.
Thanks again! -
WSitconc
AskWoody LoungerStrange – it doesn’t work that way for me. Anyway, does the problem PC have Access 2003 SP3? If so, I’d install the two hotfixes released after SP3:
Access 2003 post-Service Pack 3 hotfix package: December 18, 2007 – this one is a must, it solves a number of common problems.
Access 2003 post-Service Pack 3 hotfix package: November 21, 2007 – worth a try too, although less essential.I have finally had a chance to try your suggestions.
On my machine I have no problems. On the client machine even the fixes did not work. However, your NZ function suggestion did. So the problem is fixed but we still do not know why this is happening on different machines.
Thanks for the help!
itconc -
WSitconc
AskWoody LoungerStrange – it doesn’t work that way for me. Anyway, does the problem PC have Access 2003 SP3? If so, I’d install the two hotfixes released after SP3:
Access 2003 post-Service Pack 3 hotfix package: December 18, 2007 – this one is a must, it solves a number of common problems.
Access 2003 post-Service Pack 3 hotfix package: November 21, 2007 – worth a try too, although less essential.Will try when I get back to the Arboretum.
Thanks Hans -
WSitconc
AskWoody LoungerI don’t know why it causes problems, but try this expression:
=[AvailableSpaces]-Nz([Events Subform]![Total Attendees],0)
Hans, I chnaged the control source as you recommended but got error messages when there are no records in the subform.
Thanks,itconc
-
WSitconc
AskWoody LoungerThank you
-
WSitconc
AskWoody LoungerYes:
Code:Sub FindIt() CommandBars.FindControl(ID:=1849).Execute End Sub
-
WSitconc
AskWoody LoungerThanks to all of you!
-
WSitconc
AskWoody LoungerWe have an ecellent backup system. However, our control systems leave a lot to be desired. We are working on that.
-
WSitconc
AskWoody LoungerIf I had considerate users I would be so happy. All of our spreadsheets are treated in a mutli-user fashion.
Thanks for the input. -
WSitconc
AskWoody LoungerThanks. I think that will be the only answer, although I will test the program mentioned.
-
WSitconc
AskWoody LoungerI agree. However, these accountants work with many spreadsheets and it would be impossible to use Access for each one.
![]() |
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 |

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
-
Wait command?
by
CWBillow
46 minutes ago -
Malwarebytes 5 Free version manual platform updates
by
Bob99
2 hours, 51 minutes ago -
inetpub : Microsoft’s patch for CVE-2025–21204 introduces vulnerability
by
Alex5723
9 hours, 27 minutes ago -
Windows 10 finally gets fix
by
Susan Bradley
18 hours, 20 minutes ago -
AMD Ryzen™ Chipset Driver Release Notes 7.04.09.545
by
Alex5723
19 hours, 40 minutes ago -
Win 7 MS Essentials suddenly not showing number of items scanned.
by
Oldtimer
14 hours, 13 minutes ago -
France : A law requiring messaging apps to implement a backdoor ..
by
Alex5723
1 day, 8 hours ago -
Dev runs Windows 11 ARM on an iPad Air M2
by
Alex5723
1 day, 9 hours ago -
MS-DEFCON 3: Cleanup time
by
Susan Bradley
4 hours, 33 minutes ago -
KB5056686 (.NET v8.0.15) Delivered Twice in April 2025
by
lmacri
1 hour, 14 minutes ago -
How to enable Extended Security Maintenance on Ubuntu 20.04 LTS before it dies
by
Alex5723
1 day, 20 hours ago -
Windows 11 Insider Preview build 26200.5562 released to DEV
by
joep517
2 days ago -
Windows 11 Insider Preview build 26120.3872 (24H2) released to BETA
by
joep517
2 days ago -
Unable to eject external hard drives
by
Robertos42
11 hours, 17 minutes ago -
Saying goodbye to not-so-great technology
by
Susan Bradley
1 hour, 2 minutes ago -
Tech I don’t miss, and some I do
by
Will Fastie
4 hours, 51 minutes ago -
Synology limits hard drives
by
Susan Bradley
3 days, 4 hours ago -
Links from Microsoft 365 and from WhatsApp not working
by
rog7
2 days, 7 hours ago -
WhatsApp Security Advisories CVE-2025-30401
by
Alex5723
3 days, 11 hours ago -
Upgrade Sequence
by
doneager
3 days, 4 hours ago -
Chrome extensions with 6 million installs have hidden tracking code
by
Nibbled To Death By Ducks
1 day, 9 hours ago -
Uninstall “New Outlook” before installing 2024 Home & Business?
by
Tex265
2 days, 3 hours ago -
The incredible shrinking desktop icons
by
Thumper
4 days, 8 hours ago -
Windows 11 Insider Preview Build 22635.5240 (23H2) released to BETA
by
joep517
4 days, 9 hours ago -
Connecting hard drive on USB 3.2 freezes File Explorer & Disk Management
by
WSJMGatehouse
1 day, 8 hours ago -
Shellbag Analyser & Cleaner Update
by
Microfix
1 day, 2 hours ago -
CISA warns of increased breach risks following Oracle Cloud leak
by
Nibbled To Death By Ducks
4 days, 18 hours ago -
Outlook 2024 two sent from email addresses
by
Kathy Stevens
4 hours, 40 minutes ago -
Speeding up 11’s search
by
Susan Bradley
2 days, 7 hours ago -
HP Pavilion Will Not Wake Up After Being Idle for Longer Period
by
WSwalterwood44
2 days, 19 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.