Compiler error on a non-existent line

JoeS01

Well-known Member
Joined
Jun 25, 2005
Messages
832
I have installed my fully operational Access 2010 data base from another computer. When I run it on my work laptop I get a "Compiler error. in Query Expression Round(Val(func..... ' etc.

The trouble is, this formula does not exist anywhere in my VBA code. I have used Ctrl F and selected the whole project in which to do the search.

I am using windows 7 Professional with 64 bit OS, and with VBA 7.0 on my work laptop.

Can anyone please suggest where the problem might be?
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
Problem solved!! Switched my work MS Office to 32 bit, and software developed on my home 32 bit Office ran perfectly on the work laptop. Many thanks for pointing this out, Derek
 
Upvote 0
Thank you for the feed-back - it is good to know that your problem has been solved and that this post may later help others.
 
Upvote 0

Forum statistics

Threads
1,224,617
Messages
6,179,915
Members
452,949
Latest member
beartooth91

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top