ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   How do i add a function button to a worksheet? (https://www.excelbanter.com/excel-worksheet-functions/205338-how-do-i-add-function-button-worksheet.html)

TammyMarie

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!

Sheeloo[_2_]

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!


Sheeloo[_2_]

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!


Gord Dibben

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!




All times are GMT +1. The time now is 04:10 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com