On Sat, 16 Apr 2011 23:43:57 -0600, "Albert D. Kallal"
<PleaseNOOOsPAMmkallal (AT) msn (DOT) com> wrote:
Quote:
wrote
however, in AC2010 running on Vista 64 I do not get
the same results, even after I include the line you suggested to hide
the ribbon, together with the additional settings you mentioned.
I thank you for your suggestion anyway.
Well I do get those results.
So you simply not following instructions.
Try the sample myhide3.zip here:
http://cid-b18a57cb5f6af0fa.office.l...Public/Shuttle
As noted, one line of code is all I needed. |
Your example does work as desired, however, as stated in my original
message, what I am trying to determine is if it is possible to
implement a solution that, without having to revisit the code, would
yield the same clean results across several versions of Access, at
least from AC2003 to AC2010, running on Windows XP and later, both 32
and 64 bit versions. It would seem that:
Private Sub Form_Load()
DoCmd.ShowToolbar "Ribbon", acToolbarNo
End Sub
Will not achieve this. In fact, even the following will not hide all
elements of the Access environment except for the actual application
forms, which is the desired final result.
Private Sub Form_Load()
If Val(Access.Version) >= 12 Then
strMenu = "Ribbon"
Else
strMenu = "Menu Bar"
End If
DoCmd.ShowToolbar strMenu, acToolbarNo
End Sub
I do thank you for your help.
Arsene