Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 1
Default How do i add a function button to a worksheet?

I am creating a worksheet that is used by other users. New data is entered
on a weekly basis. This worksheet contains formulas. When the other users
delete the old data to enter the new data, they delete the formula aswell. I
would like to add a 'Clear Page' button so the formulas will not be deleted.
Could someone please help me with this.

Thank you!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 364
Default How do i add a function button to a worksheet?

You can record a macro and do the cleanup... then assign the macro to a
button through Tools|Customize|toolbar|New

"TammyMarie" wrote:

I am creating a worksheet that is used by other users. New data is entered
on a weekly basis. This worksheet contains formulas. When the other users
delete the old data to enter the new data, they delete the formula aswell. I
would like to add a 'Clear Page' button so the formulas will not be deleted.
Could someone please help me with this.

Thank you!

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 364
Default How do i add a function button to a worksheet?

You can use WEEKNUM function to get the week number and then create
PIVOTTABTLE.

It takes two parameters, one is a date (or a reference to a cell with the
date) and one is an offset for what day the week should start on [1 for for
Sunday and 2 for Monday respectively.] Heres what the function may look
like on your spreadsheet:

=WEEKNUM(A2,1)

It is part of "Analysis Toolpak'

To enable it
Under the €śTools€ť menu, select €śAdd-Ins€¦€ť
Under the resulting pop-up dialog, check the €śAnalysis ToolPak€ť and press
€śOK€ť.

"TammyMarie" wrote:

I am creating a worksheet that is used by other users. New data is entered
on a weekly basis. This worksheet contains formulas. When the other users
delete the old data to enter the new data, they delete the formula aswell. I
would like to add a 'Clear Page' button so the formulas will not be deleted.
Could someone please help me with this.

Thank you!

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default How do i add a function button to a worksheet?

You may be better off creating a Template.

Users would open a workbook based on that Template and save as a new name.

The Template itself never gets changed and remains as is for next user.


Gord Dibben MS Excel MVP

On Mon, 6 Oct 2008 19:33:00 -0700, TammyMarie
wrote:

I am creating a worksheet that is used by other users. New data is entered
on a weekly basis. This worksheet contains formulas. When the other users
delete the old data to enter the new data, they delete the formula aswell. I
would like to add a 'Clear Page' button so the formulas will not be deleted.
Could someone please help me with this.

Thank you!


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
Moving a button on worksheet Jock Excel Worksheet Functions 5 November 2nd 07 03:50 PM
How do I put a toolbar button into a worksheet? Diamond1974 Excel Worksheet Functions 1 November 16th 06 01:41 PM
NEED TO MAKE THE PRINT BUTTON FUNCTION IN WORKSHEET dlc-forbes Excel Worksheet Functions 2 April 9th 06 01:11 PM
How can I use the tab button after protecting the worksheet? Joanne, BC Excel Worksheet Functions 2 December 6th 05 09:44 PM
print different worksheet by pressing visible button on worksheet Confused Excel Worksheet Functions 2 June 13th 05 02:22 PM


All times are GMT +1. The time now is 10:57 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"