This is probably easy but I am not sure how to do it. I have a custom tool I developed in VBA; once the tool is used I want to change the mouse cursor back to the Select elements tool.
I have been trying to change the mouse cursor. Why does the code below not work. It bombs when it set the value of UID.
Dim pCmdBars As ICommandBars Set pCmdBars = ThisDocument.CommandBars Dim pCmdItem As ICommandItem Dim pUID As New UID pUID.Value = "{C22579D1-BC17-11DO-8667-0000F8751720}" 'pUid.Value = "{esriArcMapUI.SelectTool}" Set pCmdItem = pCmdBars.Find(pUID) 'sets the cursor to the Select Elements tool pCmdItem.Execute