#1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Clear Button


I would like to add a button (Clear). I would like to make it clear out
input into certain cells to refresh the cel back to zero, awaiting next
input.

Also would like to also do this for a complete document. the clear
button would erase the users input data so as to start completely fresh
with new information on the form.

JudyP


--
JudyP
------------------------------------------------------------------------
JudyP's Profile: http://www.excelforum.com/member.php...o&userid=37137
View this thread: http://www.excelforum.com/showthread...hreadid=568664

  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 22,906
Default Clear Button

Judy

You say "certain cells".

Will these always be the same cells?

If so, create a named range and select that name from the name box and
EditClear Contents.

Or ToolsCustomiseCommandsEdit. Drag the "Clear Contents" button to your
Toolbar.

Or record a macro while doing this and assign the macro to a button. Can save a
couple of key strokes.

If cells will change all the time........look at the EditGo
ToSpecialConstants. Uncheck the types you wish to keep and OK.

EditClear Contents.

For a complete workbook you would have to do each sheet individually by hand as
above or use a macro to go through the sheets.


Gord Dibben MS Excel MVP


On Sat, 5 Aug 2006 14:39:45 -0400, JudyP
wrote:


I would like to add a button (Clear). I would like to make it clear out
input into certain cells to refresh the cel back to zero, awaiting next
input.

Also would like to also do this for a complete document. the clear
button would erase the users input data so as to start completely fresh
with new information on the form.

JudyP


  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 1
Default Clear Button


Hi JudyP,

See how you get on with recording a macro

Tools Macro Record new macro

Macro1 Select store in this workbook, then OK

Click the cells you want to clear, then press the Delete key

Stop marco recording

Now - View Toolbars Forms

Click on the "button" icon and draw one on your spreadsheet (Button 1,
you can change this to "Clear"), the Assign macro box opens – select
Macro1 OK

Is this any help?

oldchippy :)


--
oldchippy
------------------------------------------------------------------------
oldchippy's Profile: http://www.excelforum.com/member.php...o&userid=19907
View this thread: http://www.excelforum.com/showthread...hreadid=568664

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
Button or key to conditionally change text foreground color? Alex New Users to Excel 1 February 27th 06 09:40 PM
Command Button Assignment Bill Martin Excel Discussion (Misc queries) 2 January 1st 06 02:50 AM
Creating button as cell jpizzle Excel Discussion (Misc queries) 1 June 1st 05 01:22 PM
Macro to simply bring up the Find dialogue box?? marika1981 Excel Discussion (Misc queries) 14 January 14th 05 10:47 PM
How do I insert a 'clear all' button in excel? Nick Excel Worksheet Functions 3 December 13th 04 11:59 AM


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