View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
james james is offline
external usenet poster
 
Posts: 1
Default Removing the RECENTLY OPENED submenu item

Hello,

PLEASE HELP!!

I am trying to adjust the look of the menus in an xls workbook using
the following VBA script:-

With CommandBars("Worksheet Menu Bar").Controls("File")
.Controls("New...").Visible = False
.Controls("Open...").Visible = False
.Controls("Save As...").Visible = False
BLAH BLAH etc

However, I cannot remove the list of recently opened files because i do
not know what its 'name' is. I do know its ID is 831 but I am
struggling to write a VBA statement that likes using ID numbers instead
of names.

Any answers would be greatly appreciated.



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/