-
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
-
Windows 7 ISO /Windows 10 ISO
by
ECWS
4 hours, 35 minutes ago -
No HP software folders
by
fpefpe
5 hours, 20 minutes ago -
Which antivirus apps and VPNs are the most secure in 2025?
by
B. Livingston
25 minutes ago -
Stay connected anywhere
by
Peter Deegan
10 hours, 43 minutes ago -
Copilot, under the table
by
Will Fastie
1 hour, 56 minutes ago -
The Windows experience
by
Will Fastie
16 hours, 57 minutes ago -
A tale of two operating systems
by
Susan Bradley
7 hours, 53 minutes ago -
Microsoft : Resolving Blue Screen errors in Windows
by
Alex5723
22 hours, 17 minutes ago -
Where’s the cache today?
by
Up2you2
1 day, 13 hours ago -
Ascension says recent data breach affects over 430,000 patients
by
Nibbled To Death By Ducks
1 day, 6 hours ago -
Nintendo Switch 2 has a remote killing switch
by
Alex5723
6 hours, 43 minutes ago -
Blocking Search (on task bar) from going to web
by
HenryW
1 day, 14 hours ago -
Windows 10: Microsoft 365 Apps will be supported up to Oct. 10 2028
by
Alex5723
2 days, 6 hours ago -
Add or Remove “Ask Copilot” Context Menu in Windows 11 and 10
by
Alex5723
2 days, 6 hours ago -
regarding april update and may update
by
heybengbeng
2 days, 8 hours ago -
MS Passkey
by
pmruzicka
1 day, 10 hours ago -
Can’t make Opera my default browser
by
bmeacham
2 days, 16 hours ago -
*Some settings are managed by your organization
by
rlowe44
2 days, 2 hours ago -
Formatting of “Forward”ed e-mails
by
Scott Mills
2 days, 15 hours ago -
SmartSwitch PC Updates will only be supported through the MS Store Going Forward
by
PL1
3 days, 10 hours ago -
CISA warns of hackers targeting critical oil infrastructure
by
Nibbled To Death By Ducks
3 days, 19 hours ago -
AI slop
by
Susan Bradley
1 day, 13 hours ago -
Chrome : Using AI with Enhanced Protection mode
by
Alex5723
3 days, 21 hours ago -
Two blank icons
by
CR2
1 day, 5 hours ago -
Documents, Pictures, Desktop on OneDrive in Windows 11
by
ThePhoenix
1 day, 7 hours ago -
End of 10
by
Alex5723
4 days, 8 hours ago -
Single account cannot access printer’s automatic duplex functionality
by
Bruce
3 days, 6 hours ago -
test post
by
gtd12345
4 days, 14 hours ago -
Privacy and the Real ID
by
Susan Bradley
4 days, 4 hours ago -
MS-DEFCON 2: Deferring that upgrade
by
Susan Bradley
2 days, 7 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.