Greetings, I have learned a lot from all of you gurus out there, but I am still such a noob. I am using the following code to launch a custom tool bar:
Now I would like to add the following snippet to disable the ability in the WB to drag and drop. But I can't figure out how to add that in without getting errors.
Could someone give me a little help on adding the drag and drop code into the workbook_deactivate sub - thanks, RB
P.S - if anyone knows of a book that details how to structure codes in this kind of detail I would buy it in a minute!
Code:
Private Sub WorkBook_Activate()
On Error Resume Next
With Application.CommandBars("Daily Checklist")
.Enabled = True
.Visible = True
End With
On Error GoTo 0
End Sub
Now I would like to add the following snippet to disable the ability in the WB to drag and drop. But I can't figure out how to add that in without getting errors.
Code:
Application.CellDragAndDrop = False
Could someone give me a little help on adding the drag and drop code into the workbook_deactivate sub - thanks, RB
P.S - if anyone knows of a book that details how to structure codes in this kind of detail I would buy it in a minute!