right click

TODDY

New Member
Joined
Sep 10, 2003
Messages
22
I have inherited a spread sheet and have found some cells that when right clicked i get a list from another sheet istead of the submenue i was expecting . how was this done and how do i change it.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.
Right click the sheet tab and choose View Code. Look for a procedure that begins:

Private Sub Worksheet_BeforeRightClick(ByVal Target As Range, Cancel As Boolean)
 
Upvote 0
Hi

You probably have some code written into the ThisWorkbook module so you'll probably want to check that via the VBE (Alt+F11) and navigate to your workbook name in the Projects pane (top left) and double-click on the ThisWorkbook module.

You're looking for a sub that begins:

Code:
Private Sub Workbook_SheetBeforeRightClick(ByVal Sh As Object, ByVal Target As Range, Cancel As Boolean)

Depending on what's been coded, you may be able to simply delete this sub, save the workbook down and reopen.

Hope this helps!

Richard
 
Upvote 0

Forum statistics

Threads
1,215,066
Messages
6,122,948
Members
449,095
Latest member
nmaske

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