Disable Copy Move Worksheet

cjsmile2016

New Member
Joined
Jan 24, 2005
Messages
14
I'm Stumped! I'm trying to find a way to disable the copy/move worksheet menu fromt the tabs, edit menu, and commandbars??? I don't want to use protect workbook or workseet due to I need the user still edit cells (using 97). Any ideas? Thank you guys!

Tim
 

Excel Facts

How to create a cell-sized chart?
Tiny charts, called Sparklines, were added to Excel 2010. Look for Sparklines on the Insert tab.
You can protect the workbook, and that will still enable users to edit cells. Hope that helps!
 
Upvote 0
Re: Disable Copy Move Worksheet problems

Well, slight problem. It looks like that was going to work, but now I get in error conflict with a macro.

It seems to conflict with with macro:

Private Sub UnhideSheets()
Dim sht As Object

Application.ScreenUpdating = False

For Each sht In ThisWorkbook.Sheets

sht.Visible = xlSheetVisible

Next sht

ThisWorkbook.Sheets("Macros Disabled").Visible = xlSheetVeryHidden

Application.ScreenUpdating = True

End Sub

I get the follow error: "Run-Time error 1004: Unable to set the visible property of the Worksheet class"

When I click to debug...it points to this line "sht.Visible = xlSheetVisible"
Any clue?? Thank you!![/b]
 
Upvote 0
You'd have to unprotect the workbook, make all your sheets visible, then protect the workbook again.
 
Upvote 0

Forum statistics

Threads
1,213,485
Messages
6,113,931
Members
448,533
Latest member
thietbibeboiwasaco

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