Rocky Smolin
rockysmolin at bchacc.com
Thu Apr 14 17:50:18 CDT 2011
Good thinkin'. Covers me for the rest of my life. Or the product 's life. Of course, that's assuming that DoCmd.ShowToolbar "Ribbon", acToolbarNo works so well and is so bulletproof that MS will feel compelled to replace it with something else we'll have to learn. R -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Dan Waters Sent: Thursday, April 14, 2011 2:54 PM To: 'Access Developers discussion and problem solving' Subject: Re: [AccessD] 2010 Version Hi Rocky, Perhaps just checking >= 12 would be sufficient? Dan -----Original Message----- From: accessd-bounces at databaseadvisors.com [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Rocky Smolin Sent: Thursday, April 14, 2011 4:36 PM To: 'Access Developers discussion and problem solving' Subject: [AccessD] 2010 Version Dear List: In my code I test for Access 2007 and turn off the ribbon if it's 2007 using: If Application.Version = 12 Then DoCmd.ShowToolbar "Ribbon", acToolbarNo If I want to check for 2010, what version number should I use? MTIA Rocky Smolin Beach Access Software 858-259-4334 Skype: rocky.smolin www.e-z-mrp.com <http://www.e-z-mrp.com/> www.bchacc.com <http://www.bchacc.com/> -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com -- AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com