Results 1 to 3 of 3
  1. #1
    Alibaba66 is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Jan 2015
    Posts
    3

    accessing ribbon via vba


    hi,
    I am using microsoft access 2010 project (adp). I need to disable the file menu when I distribute the ade to clients.
    the backstage disable has no effect. my customized ribbon below. I only need to a way via vba to turn off the ApplicationOptionsDialog button! thanks!

    Code:
    <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">    
      
     
      
               
      <ribbon startFromScratch="true">          
      
      
       
    
    
      
      <tabs>             
      <tab idMso="TabExternalData" visible="false" />    <tab idMso="TabCreate" visible="false" />            
      <tab idMso="TabDatabaseTools" visible="false" />    <tab idMso="TabHomeAccess" visible="false" />                                    
      
      
      </tabs>      
      </ribbon>    
      
       <backstage>
        <tab idMso="TabInfo" visible="false"/>
        <button idMso="FileSave" visible="false"/>
        <button idMso="SaveObjectAs" visible="false"/>
     
         
        <button idMso="FileOpenDatabase" visible="false"/>
        <button idMso="FileCloseDatabase" visible="false"/>
        <tab idMso="TabRecent" visible="false"/>
        <tab idMso="TabNew" visible="false"/>
        <tab idMso="TabPrint" visible="false"/>
        <tab idMso="TabShare" visible="false"/>
        <tab idMso="TabHelp" visible="false"/>
        <button idMso="ApplicationOptionsDialog" visible="false"/>
        <button idMso="FileExit" visible="false"/>
      </backstage>
       
      </customUI>

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

  3. #3
    Alibaba66 is offline Novice
    Windows 8 Access 2010 32bit
    Join Date
    Jan 2015
    Posts
    3
    Thanks June7

    replace

    <customUI xmlns="http://schemas.microsoft.com/office/2006/01/customui">
    with

    <customUI xmlns="http://schemas.microsoft.com/office/2009/07/customui">
    did the trick

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Accessing db on network
    By JeroenMioch in forum Access
    Replies: 3
    Last Post: 10-08-2014, 06:43 AM
  2. Accessing Db through IE
    By michaeljohnh in forum Forms
    Replies: 8
    Last Post: 08-27-2010, 08:24 AM
  3. Accessing Another Application
    By searle in forum Programming
    Replies: 2
    Last Post: 03-24-2010, 08:17 PM
  4. Accessing a Tab with a HotKey
    By SCFM in forum Programming
    Replies: 2
    Last Post: 03-13-2010, 07:28 AM
  5. adp accessing issue
    By fillerup in forum Security
    Replies: 3
    Last Post: 03-10-2010, 09:59 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums