Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to 64-Bit Access    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Ptrsafe
Tom Juric 
      
2 months ago
I understand how this works and what I need to do but...Is there a quick and easy to add this to my code.  Is there an "automatic" way to add in all places it is necessary?
Tom Juric OP  @Reply  
      
2 months ago
As a side note:
1. If I create a program in Access 2021, will it work correctly with Office 365?
2. If created in 32 Bit and I add PtrSafe, will it work under question 1 above
Alex Lewis  @Reply  
       
2 months ago
There is an advanced method to copy VBA from, say, a text box and insert your code into a new module.

1. Yes

2. PtrSafe is generally intended for compatibility with 64 bit systems. However, you could use the following code to put a PtrSafe function in a 32-bit module:

#If VBA7 Then
Declare Function DoSomething
#Else
Declare PtrSafe Function DoSomething
#End If

If the statement turns red, the VBA editor compiles and executes the statement just fine, but VBA is intended to read either 32-bit or 64-bit, dependent on which bitness version you have installed on your machine, you usually can’t use both on the same database file, however the code declarations I posted above helps get around that limitation.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in 64-Bit Access.
 

Next Unseen

 
 
What's This?

 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 9/5/2026 11:08:29 PM. PLT: 0s