Increment id number issue

dimsums

New Member
Joined
Jun 29, 2020
Messages
2
Office Version
365
Platform
Windows
Hi,
I am using VBA in access to work with a form, which contains a button that increments a ID number from a table. The code i am using works in some computers and doesnt work in others.
Is this a common issue? I tried looking for every possible difference but it is the same sheet just different PCs.
 

Some videos you may like

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
53,476
Office Version
365
Platform
Windows
Welcome to the Board!

Check to make sure that these other computers have VBA enabled (common Microsoft security setting).
Also, you may want to check to see which version of Access they are using compared to the computers that are working.
Lastly, in the VB Editor, you may want to check the Libraries/References. First check it on a computer that works, then check it on one that doesn't, and confirm that they have all necessary references selected.
 

dimsums

New Member
Joined
Jun 29, 2020
Messages
2
Office Version
365
Platform
Windows
Hi
Thank you for your reply.
I just checked the version, VBA enabling and all the references being used. Its all the same in all the computers.
So still not sure why this is happening.
 

Joe4

MrExcel MVP, Junior Admin
Joined
Aug 1, 2002
Messages
53,476
Office Version
365
Platform
Windows
Could you post the code?
 

Watch MrExcel Video

Forum statistics

Threads
1,100,037
Messages
5,472,115
Members
406,804
Latest member
xbinsx

This Week's Hot Topics

Top