HELP! Cannot right click in code window/IDE

TomPC

Board Regular
Joined
Oct 13, 2011
Messages
95
Hi All

Flummoxed, I am!

I can not right click all lines of my code in the code window.

For example in the below partial extract (with no code running) I CAN right click the line UsrName = Environ("UserName") and get all the usual options. But if I right click Call ConfirmDone("DoneBackup", False) nothing happens.

The same happens whether I'm stepping through code or just viewing it. I have restarted my PC etc.

Anyone ever experienced this?

Thanks for your help in advance,

Tom

Code:
            Call ConfirmDone("DoneCompactDB", False)
            Call ConfirmDone("DoneBackup", False)
            Call ConfirmDone("DoneChkLs", False)
            Call ConfirmDone("DoneCheckLoadStatus", False)
        End If
    End With
End Sub
 
 
Sub ConfirmDone(RangeRoot As String, ShowAsDone As Boolean)
    Dim UsrName As String
    Dim DoneTime As String
    
    If ShowAsDone Then
        UsrName = Environ("UserName")
        DoneTime = "'" & CStr(Format(DateTime.Now, "dd-mmm-yy hh:mm:ss"))
    Else
 

Some videos you may like

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

AD_Taylor

Well-known Member
Joined
May 19, 2011
Messages
687
I've experienced it where I literally couldn't click any of the options, or even click inside to type.

Restarting the computer sorted it for me.
 

Watch MrExcel Video

Forum statistics

Threads
1,128,180
Messages
5,629,191
Members
416,371
Latest member
gdm120

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top