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
 

Excel Facts

What is the fastest way to copy a formula?
If A2:A50000 contain data. Enter a formula in B2. Select B2. Double-click the Fill Handle and Excel will shoot the formula down to B50000.
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.
 
Upvote 0

Forum statistics

Threads
1,214,823
Messages
6,121,777
Members
449,049
Latest member
greyangel23

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
Back
Top