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

Get help while writing formula
Click the italics "fx" icon to the left of the formula bar to open the Functions Arguments dialog. Help is displayed for each argument.

Tazguy37

MrExcel MVP
Joined
May 28, 2004
Messages
4,237
You can protect the workbook, and that will still enable users to edit cells. Hope that helps!
 

cjsmile2016

New Member
Joined
Jan 24, 2005
Messages
14
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]
 

Tazguy37

MrExcel MVP
Joined
May 28, 2004
Messages
4,237
You'd have to unprotect the workbook, make all your sheets visible, then protect the workbook again.
 

Forum statistics

Threads
1,147,623
Messages
5,742,208
Members
423,712
Latest member
edzubur

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