[AccessD] Getting error of Ribbon argument

Max Wanadoo max.wanadoo at gmail.com
Tue Mar 31 16:34:37 CDT 2009


Ha! you can talk - ask Charlotte (aka Charlie, aka Data, aka Eliza)

Anyway, I have been scolded so I am only doing code now.

Max


-----Original Message-----
From: accessd-bounces at databaseadvisors.com
[mailto:accessd-bounces at databaseadvisors.com] On Behalf Of William Hindman
Sent: 31 March 2009 22:31
To: Access Developers discussion and problem solving
Subject: Re: [AccessD] Getting error of Ribbon argument

...ummmm Max (or Denis) ...I've heard of split personalities before but this

is ridiculous, eh :)

William

--------------------------------------------------
From: "Denis Sherman" <max.wanadoo at gmail.com>
Sent: Tuesday, March 31, 2009 4:54 PM
To: "'Access Developers discussion and problem solving'" 
<accessd at databaseadvisors.com>
Subject: Re: [AccessD] Getting error of Ribbon argument

> Hi Susan,
> I don't know the answer but if you set a Reference to Microsoft Access 12
> Object Library then it will probably compile ok.
>
> Whether it works or not is another matter
>
> hth
>
> Max
>
>
>
> -----Original Message-----
> From: accessd-bounces at databaseadvisors.com
> [mailto:accessd-bounces at databaseadvisors.com] On Behalf Of Susan Harkins
> Sent: 31 March 2009 21:12
> To: AccessD at databaseadvisors.com
> Subject: [AccessD] Getting error of Ribbon argument
>
> Private Sub Command0_Click()
>  'Hide 2007 Ribbon.
>  DoCmd.ShowToolbar "Ribbon", acToolbarNo
> End Sub
>
> Private Sub Command1_Click()
>  'View 2007 Ribbon.
>  DoCmd.ShowToolbar "Ribbon", acToolbarYes
> End Sub
>
> Trying to apply these and both arguments generate a run-time error in Word
> 2007 -- says variable not defined. The Office 12 Object Library is
> referenced. Works fine in Access 2007 -- is this capability not available 
> in
>
> all the 2007 apps?
>
> Susan H.
>
> -- 
> 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
> 

-- 
AccessD mailing list
AccessD at databaseadvisors.com
http://databaseadvisors.com/mailman/listinfo/accessd
Website: http://www.databaseadvisors.com




More information about the AccessD mailing list