PC Review


Reply
Thread Tools Rate Thread

Removing Menu Option in VBA ( grey one out ) ?

 
 
mikeprice53
Guest
Posts: n/a
 
      27th Nov 2003

Tracking Changes ?
I am after the workaround for the disabling of tracking changes b
anyone other than me.

I presume ( and yes since I learnt this method I love it ) I can us
the Environment settings...




--------------------------------------------------------------------------------

quote:
--------------------------------------------------------------------------------
Sub MeOnlyTrackChanges()
If Environ("Fullname") <> "My Name Here" then Exit sub
Elseif: <grey out the menu option for track changes here VBA COD
needed >
End Sub
--------------------------------------------------------------------------------



I am presuming this is possible - hence the way I think I am trying t
explain is that if any other user name opens the form then the men
item for track changes is still there but just not available fo
selection ( greyed out ! ) ... I just dont happen to know the code fo
it to be honest but I am trying to improve my VBA Skills somewhat

If someone could check to see if the above will work and possibley le
me know what the missing code would be I would be very appreciative
Thank you

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

 
Reply With Quote
 
 
 
 
mikeprice53
Guest
Posts: n/a
 
      27th Nov 2003

sussed it out ! ;0)

Private Sub Workbook_Open()
With Application.CommandBars("Tools")
.Controls.Item("Track Changes").Enabled = False
End With
End Su

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

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Grey brackets & grey text Manc Shaun Microsoft Word Document Management 1 20th Apr 2010 03:59 PM
need help on how to grey out one option button in one group box based on the selection of another option button in another group box George Microsoft Excel Programming 13 11th Mar 2007 03:08 PM
Re: VPN option grey-ed out in new connection wizard Giridharan Sridharan [MSFT] Windows XP Work Remotely 0 15th Apr 2004 12:08 PM
Re: VPN option grey-ed out in new connection wizard Bill Sanderson Windows XP Work Remotely 0 31st Mar 2004 04:18 AM
Re: VPN option grey-ed out in new connection wizard Bob Windows XP Work Remotely 0 30th Mar 2004 03:00 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:33 AM.