#1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RAZ RAZ is offline
external usenet poster
 
Posts: 120
Default Reset Button

hi,
I have an excell sheet (time-sheet) with about 90 cells with values in it. I
would like to have a reset button, When I press this button, I want some
cells (about 40) to become empty.

Also if possible i do not want the reset button to show up on the page when
i print my time sheet.

IS THIS POSSIBLE? please help. thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 11,501
Default Reset Button

Hi,

That's certainly possible but you can't have a macro that says

if button 1 is pressed delete about 40 numbers

delete about 40 numbers

end if

Please be more specific.

Mike

"Raz" wrote:

hi,
I have an excell sheet (time-sheet) with about 90 cells with values in it. I
would like to have a reset button, When I press this button, I want some
cells (about 40) to become empty.

Also if possible i do not want the reset button to show up on the page when
i print my time sheet.

IS THIS POSSIBLE? please help. thanks in advance

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 3,346
Default Reset Button

Hi,

You will need VBA, something like

Sub Reset()
Range("A1:A5","B3:B8","D45").ClearContents
End Sub

Add a button to the spreadsheet using View, Toolbars, Forms. Assign the the
macro to the button. By default this type of button does not print.

If this helps please click the Yes button

Cheers,
Shane Devenshire
"Raz" wrote:

hi,
I have an excell sheet (time-sheet) with about 90 cells with values in it. I
would like to have a reset button, When I press this button, I want some
cells (about 40) to become empty.

Also if possible i do not want the reset button to show up on the page when
i print my time sheet.

IS THIS POSSIBLE? please help. thanks in advance

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RAZ RAZ is offline
external usenet poster
 
Posts: 120
Default Reset Button

thanks, but i have never used a macro before, please explain in a little detail
here is exactly how I want it.

need the button in cell T4 and
need these cells (below) to reset to empty when button clicked

B8 to T8
B9 to T9
B11 to T11
B12 to T12
B14 to T14
B15 to T15
B17 to T18
............
...........
B51 to T51


Thanks again





"Shane Devenshire" wrote:

Hi,

You will need VBA, something like

Sub Reset()
Range("A1:A5","B3:B8","D45").ClearContents
End Sub

Add a button to the spreadsheet using View, Toolbars, Forms. Assign the the
macro to the button. By default this type of button does not print.

If this helps please click the Yes button

Cheers,
Shane Devenshire
"Raz" wrote:

hi,
I have an excell sheet (time-sheet) with about 90 cells with values in it. I
would like to have a reset button, When I press this button, I want some
cells (about 40) to become empty.

Also if possible i do not want the reset button to show up on the page when
i print my time sheet.

IS THIS POSSIBLE? please help. thanks in advance

  #5   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RAZ RAZ is offline
external usenet poster
 
Posts: 120
Default Reset Button

thanks, but i have never used a macro before, please explain in a little detail
here is exactly how I want it.

need the button in cell T4 and
need these cells (below) to reset to empty when button clicked

B8 to T8
B9 to T9
B11 to T11
B12 to T12
B14 to T14
B15 to T15
B17 to T18
............
...........
B51 to T51


Thanks again


"Mike H" wrote:

Hi,

That's certainly possible but you can't have a macro that says

if button 1 is pressed delete about 40 numbers

delete about 40 numbers

end if

Please be more specific.

Mike

"Raz" wrote:

hi,
I have an excell sheet (time-sheet) with about 90 cells with values in it. I
would like to have a reset button, When I press this button, I want some
cells (about 40) to become empty.

Also if possible i do not want the reset button to show up on the page when
i print my time sheet.

IS THIS POSSIBLE? please help. thanks in advance

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
Excel . Reset Button - ?? [email protected] Excel Discussion (Misc queries) 5 March 7th 08 03:37 AM
Reset button in my spreadsheet GT Excel Discussion (Misc queries) 3 August 8th 07 01:18 PM
Reset Button trilogy Excel Discussion (Misc queries) 0 July 27th 06 03:36 AM
creating a reset button 1vagrowr Excel Discussion (Misc queries) 1 December 17th 05 01:06 PM
Spinner Button Reset Anauna Excel Discussion (Misc queries) 6 June 30th 05 01:57 PM


All times are GMT +1. The time now is 07:34 PM.

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"