Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Excel - Application CommandBars ID?

Status
Not open for further replies.

DAmoss

Technical User
Jul 23, 2003
169
GB
Hi,

Can anyone tell me the ID number for the following control in Excel:

Tools > Options > Edit > Allow Cell Drag and Drop

I'm currently using the following code to disable the 'Options' popup, but I really need to turn off drag and drop first that is located on the popup window. I don't want users to be able to copy cells down as it gets past my validation routines.

Application.CommandBars("Tools").FindControl(ID:=522).Enabled = False

Thanks in advance
Don
 



Hi,

Please post VBA questions in Forum707.

Skip,

[glasses] When a group touring the Crest Toothpaste factory got caught in a large cooler, headlines read...
Tooth Company Freeze a Crowd! and
Many are Cold, but Few are Frozen![tongue]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top