Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
PJ PJ is offline
external usenet poster
 
Posts: 112
Default Lock location of sheet within a spreadsheet

Is there a way to lock the location of a sheet within a spreadsheet? I have
a spreadsheet that has a sheet for each employee. Then I have a Total sheet
that totals across all the sheets. For example, the Total sheet adds cell C3
on Sheet 1 plus C3 on Sheet 2 plus C3 on Sheet 3, etc. I want to lock Sheet
1 so it can't be moved because the formula will not work if the sheets are
rearranged. See formula below.

=SUM('Sheet1:Sheet10'!C3)

--
Thanks,
PJ
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Lock location of sheet within a spreadsheet

You could add two "dummy" sheets--one to the far left and one to the far right.

Call them Start and Finish.

Then your formula would become:

=sum('start:finish'!c3)

I would lock the cells on those sheets and protect them. You don't want someone
putting something in one of the cells that breaks the formulas.

After you do this, you can play what-if games, too. Just drag a worksheet
outside that "sandwich" and that employee's numbers will be ignored.

Remember to have the total sheet outside the sandwich, too.



PJ wrote:

Is there a way to lock the location of a sheet within a spreadsheet? I have
a spreadsheet that has a sheet for each employee. Then I have a Total sheet
that totals across all the sheets. For example, the Total sheet adds cell C3
on Sheet 1 plus C3 on Sheet 2 plus C3 on Sheet 3, etc. I want to lock Sheet
1 so it can't be moved because the formula will not work if the sheets are
rearranged. See formula below.

=SUM('Sheet1:Sheet10'!C3)

--
Thanks,
PJ


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 5,939
Default Lock location of sheet within a spreadsheet

There is no way to lock the position of a sheet that I know of. Generally
when I want to use a formula such as that I will create 2 blank worksheets.
One called Start and one called end. I place them at either end of my source
sheets. I then use formulas like

=SUM('Start:End'!C3)

Not fool proof but it helps keep end users from moving the end sheets...
--
HTH...

Jim Thomlinson


"PJ" wrote:

Is there a way to lock the location of a sheet within a spreadsheet? I have
a spreadsheet that has a sheet for each employee. Then I have a Total sheet
that totals across all the sheets. For example, the Total sheet adds cell C3
on Sheet 1 plus C3 on Sheet 2 plus C3 on Sheet 3, etc. I want to lock Sheet
1 so it can't be moved because the formula will not work if the sheets are
rearranged. See formula below.

=SUM('Sheet1:Sheet10'!C3)

--
Thanks,
PJ

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Lock location of sheet within a spreadsheet

You could protect the workbook's structure.
In xl2003's menus:
tools|protection|protect workbook|and check structure

But this means that sheets can't be deleted, added, moved, renamed without
unprotecting the workbook first.



Jim Thomlinson wrote:

There is no way to lock the position of a sheet that I know of. Generally
when I want to use a formula such as that I will create 2 blank worksheets.
One called Start and one called end. I place them at either end of my source
sheets. I then use formulas like

=SUM('Start:End'!C3)

Not fool proof but it helps keep end users from moving the end sheets...
--
HTH...

Jim Thomlinson

"PJ" wrote:

Is there a way to lock the location of a sheet within a spreadsheet? I have
a spreadsheet that has a sheet for each employee. Then I have a Total sheet
that totals across all the sheets. For example, the Total sheet adds cell C3
on Sheet 1 plus C3 on Sheet 2 plus C3 on Sheet 3, etc. I want to lock Sheet
1 so it can't be moved because the formula will not work if the sheets are
rearranged. See formula below.

=SUM('Sheet1:Sheet10'!C3)

--
Thanks,
PJ


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
PJ PJ is offline
external usenet poster
 
Posts: 112
Default Lock location of sheet within a spreadsheet

Sounds like a good workaround. Thanks for the tip.
--
Thanks,
PJ


"Jim Thomlinson" wrote:

There is no way to lock the position of a sheet that I know of. Generally
when I want to use a formula such as that I will create 2 blank worksheets.
One called Start and one called end. I place them at either end of my source
sheets. I then use formulas like

=SUM('Start:End'!C3)

Not fool proof but it helps keep end users from moving the end sheets...
--
HTH...

Jim Thomlinson


"PJ" wrote:

Is there a way to lock the location of a sheet within a spreadsheet? I have
a spreadsheet that has a sheet for each employee. Then I have a Total sheet
that totals across all the sheets. For example, the Total sheet adds cell C3
on Sheet 1 plus C3 on Sheet 2 plus C3 on Sheet 3, etc. I want to lock Sheet
1 so it can't be moved because the formula will not work if the sheets are
rearranged. See formula below.

=SUM('Sheet1:Sheet10'!C3)

--
Thanks,
PJ

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
How do I lock the location of the Data Validation Input Message? KT Excel Worksheet Functions 1 May 21st 07 06:58 PM
Lock shape location to axis values? William DeLeo Charts and Charting in Excel 2 December 29th 05 01:09 PM
lock tab in sheet 2 until cell in sheet one is completed john tempest Excel Worksheet Functions 7 November 24th 05 08:45 AM
how do you lock a jpg on a spreadsheet that you publish to web? Jetjouster Excel Discussion (Misc queries) 0 November 15th 05 11:11 PM
lock spreadsheet by date Carl Excel Discussion (Misc queries) 3 March 24th 05 12:55 AM


All times are GMT +1. The time now is 04:13 AM.

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

About Us

"It's about Microsoft Excel"