-
WSBodders
AskWoody LoungerMark
That is exactly what I wanted to know – sorry for the delay in replying.
Nick
-
WSBodders
AskWoody LoungerCharlotte
Whether I have got the correct porperty or not is a good question. I have been delving through help files, newsgroups, Google, everything I can find on the net, but I have not found the right answer yet ๐
I have tried using :
objVSCell = rst(rstTable!FieldName) Type mismatch again
objVSCell.Formula = rst(rstTable!FieldName) #Name error even with quotes around it, and an equals sign
objVSCell.Value = rst(rstTable!FieldName) Object does not support this property or methodIf you can suggest any more, I’d be happy to try them
Thanks
Nick
-
WSBodders
AskWoody LoungerA good suggestion. This worked & completely solved the problem.
Thanks
-
WSBodders
AskWoody LoungerDavid
Thanks for the tip – it might be easier to do that than waiting to find a solution for the Automation Error.
Nick
-
WSBodders
AskWoody LoungerThe solution to this problem seems to lie somewhere in the registry. When I try to instantiate another copy of Access – whether from within Access itself or another Office application it keeps coming up with an Automation Error & file not found. We are continuing to investigate – if anybody has come across this problem before, I would be interested to know how they solved it.
Nick
-
WSBodders
AskWoody LoungerMark
Tried it out on my Pc at home (same setup – Access 97 + Office 2000) & it worked a treat. No problem at all. I have to conclude that there may be some regsitry settings on my PC at work causing it to fail. I shall investigate further & let you know.
Nick
-
WSBodders
AskWoody LoungerMark
Thanks for your prompt reply. I had a look at your code, but the problem I still have is that any attempt to open another instance of Access using either early or late binding causes an Automation error -2147… File not found. This makes me think that it may be something to do with my PC setup – I run Office 2000 with Access 97. I wonder if you have any thoughts on that.
Nick
-
WSBodders
AskWoody LoungerIt’s intended to speed up my own development work, but it could work for other databases, so long as they are starting from scratch.
I think the import trick should sort out the problem. thanks for the help
-
WSBodders
AskWoody LoungerI have created an Access add-in which automatically builds forms and code for existing tables and queries. It makes extensive use of record types and expects two modules – modRecordType and modRecordBuild – to already exist in the target database. I know it’s easy enough to flag a warning message if they are not found, but what I would like to do is use the add-in to create them for me. However, there does not seem to be the equivalent of CreateForm, CreateReport for modules, & I was wondering how to get round that. Perhaps a warning message is the easy answer ?
-
WSBodders
AskWoody LoungerThe first one, Charlotte. I know how to add code to existing modules, but what I would like to do is actually create a new module using VBA
-
WSBodders
AskWoody LoungerThat should do the trick. You learn something new every day.
Thanks
Nick
-
WSBodders
AskWoody LoungerThanks for the help, but adding the .Name produced the same error. I managed to find out that if you merge styles you have to reference the original workbook where the styles were defined.
So this was the code that worked :
objXLRange.Style = objXLBookLookup.Styles(“WO32”)
A minor irritation is that when running this line of code :
objXLBook.Styles.Merge Workbook:=objXLBookLookup
Excel produces a dialog box to confirm over-writing existing styles with the same name, and I cannot find any way of avoiding this using code. Ah well.
-
WSBodders
AskWoody LoungerCharlotte
Thanks for your reply. I also posted this on the Excel board, and I received this helpful tip :
If TypeName(objXLSheet.Cells(intRow, intCol).Value) = “Error” Then…
which has done the trick exactly.
Nick
-
WSBodders
AskWoody LoungerThanks for the replies.
TypeName certainly did the trick.
BTW, ISError returned True against the contents of the cell, but False for the cell formula. One to be aware of.
Also BTW, IsError does not appear in the Visual Basic Help index. It goes from IsEmpty to IsExpanded. I wonder why that is ?
Thanks to everyone again
Nick
-
WSBodders
AskWoody LoungerThank you Charlotte
It now works perfectly
Nick
![]() |
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
-
89 million Steam account details just got leaked,
by
Alex5723
3 hours, 9 minutes ago -
KB5058405: Linux – Windows dual boot SBAT bug, resolved with May 2025 update
by
Alex5723
3 hours, 18 minutes ago -
A Validation (were one needed) of Prudent Patching
by
Nibbled To Death By Ducks
3 hours, 27 minutes ago -
Master Patch Listing for May 13, 2025
by
Susan Bradley
4 hours ago -
Installer program can’t read my registry
by
Peobody
4 hours, 32 minutes ago -
How to keep Outlook (new) in off position for Windows 11
by
EspressoWillie
16 hours, 47 minutes ago -
Intel : CVE-2024-45332, CVE-2024-43420, CVE-2025-20623
by
Alex5723
14 hours, 31 minutes ago -
False error message from eMClient
by
WSSebastian42
14 hours, 26 minutes ago -
Awoke to a rebooted Mac (crashed?)
by
rebop2020
23 hours, 30 minutes ago -
Office 2021 Perpetual for Mac
by
rebop2020
1 day ago -
AutoSave is for Microsoft, not for you
by
Will Fastie
31 minutes ago -
Difface : Reconstruction of 3D Human Facial Images from DNA Sequence
by
Alex5723
1 day, 4 hours ago -
Seven things we learned from WhatsApp vs. NSO Group spyware lawsuit
by
Alex5723
5 hours, 16 minutes ago -
Outdated Laptop
by
jdamkeene
1 day, 9 hours ago -
Updating Keepass2Android
by
CBFPD-Chief115
1 day, 15 hours ago -
Another big Microsoft layoff
by
Charlie
1 day, 14 hours ago -
PowerShell to detect NPU – Testers Needed
by
RetiredGeek
18 hours, 10 minutes ago -
May 2025 updates are out
by
Susan Bradley
7 hours, 48 minutes ago -
Windows 11 Insider Preview build 26200.5600 released to DEV
by
joep517
1 day, 20 hours ago -
Windows 11 Insider Preview build 26120.3964 (24H2) released to BETA
by
joep517
1 day, 20 hours ago -
Drivers suggested via Windows Update
by
Tex265
1 day, 20 hours ago -
Thunderbird release notes for 128 esr have disappeared
by
EricB
1 day, 18 hours ago -
CISA mutes own website, shifts routine cyber alerts to X, RSS, email
by
Nibbled To Death By Ducks
2 days, 3 hours ago -
Apple releases 18.5
by
Susan Bradley
1 day, 22 hours ago -
Fedora Linux 40 will go end of life for updates and support on 2025-05-13.
by
Alex5723
2 days, 5 hours ago -
How a new type of AI is helping police skirt facial recognition bans
by
Alex5723
2 days, 5 hours ago -
Windows 7 ISO /Windows 10 ISO
by
ECWS
14 hours, 8 minutes ago -
No HP software folders
by
fpefpe
2 days, 13 hours ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
1 day, 10 hours ago -
Stay connected anywhere
by
Peter Deegan
2 days, 18 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.