Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 70
Default Protecting Headers and Footers!!

When I protect the worksheet it does protect most of the formatting and
inserting and deleting rows and columns.

I want to protect my workseet in such a way that user cannot go to View
Headers / Footers or File Page set up and change the Headers and Footers!!

Is it possible? how do I do this setting?


  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,501
Default Protecting Headers and Footers!!

Hi,

A bit drastic maybe but you could do this, You would need to re-enable it at
some point; probably workbook close by changing False to True. This does
however depend on macros being enabled which may not be the case.

Private Sub Workbook_Open()
With Application.CommandBars("Worksheet Menu Bar")
With .Controls("&View")
.Controls("&Header and Footer...").Enabled = False
End With
End With
End Sub


Mike
"Raja" wrote:

When I protect the worksheet it does protect most of the formatting and
inserting and deleting rows and columns.

I want to protect my workseet in such a way that user cannot go to View
Headers / Footers or File Page set up and change the Headers and Footers!!

Is it possible? how do I do this setting?


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Protecting Headers and Footers!!

I don't think you can protect this.

If it's really important, you could put code into the workbook_Beforeprint event
that makes sure the headers/footers are what you want.

But that would fail if the user disabled macros or even disabled events.

Raja wrote:

When I protect the worksheet it does protect most of the formatting and
inserting and deleting rows and columns.

I want to protect my workseet in such a way that user cannot go to View
Headers / Footers or File Page set up and change the Headers and Footers!!

Is it possible? how do I do this setting?


--

Dave Peterson
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Headers/footers daisy Excel Worksheet Functions 2 September 13th 07 03:54 PM
Headers and Footers metaltecks Excel Discussion (Misc queries) 3 February 15th 07 08:27 PM
Headers & footers Darren M Excel Discussion (Misc queries) 3 March 7th 06 02:35 PM
headers and footers Tester Excel Discussion (Misc queries) 2 November 16th 05 12:58 AM
Protecting Headers & Footers in Excel 2003 LondonLion Excel Discussion (Misc queries) 1 September 22nd 05 01:53 PM


All times are GMT +1. The time now is 11:34 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"