Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default To Place Button in Excel

I have Data in Four Sheet for Data Enter Operator ,Data Operator Enters the
data in all these sheets of accounts for each year ,At the end of year Data
Operator Wants to Clear all the data at once ,so i need a Button to clear
all the data in all sheet at 1 time,Data Operator should not go to each
column n row to delete as data is very big.

So ls guide how to place a single button to clear all data in all sheet ??

Husain Nagri


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9,101
Default To Place Button in Excel

Add a control button by adding control command toolbox (View - Toolbars -
Command Toolbox). Add Command button to worksheet. Then double click button
and add code to the VBA window.

Private Sub CommandButton1_Click()
Sheets("Sheet1").Cells.ClearContents
Sheets("Sheet2").Cells.ClearContents
Sheets("Sheet3").Cells.ClearContents
End Sub

"Husain Nagri" wrote:

I have Data in Four Sheet for Data Enter Operator ,Data Operator Enters the
data in all these sheets of accounts for each year ,At the end of year Data
Operator Wants to Clear all the data at once ,so i need a Button to clear
all the data in all sheet at 1 time,Data Operator should not go to each
column n row to delete as data is very big.

So ls guide how to place a single button to clear all data in all sheet ??

Husain Nagri


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
Place shape/clipart over radio button dgold82 Excel Discussion (Misc queries) 3 July 13th 09 01:39 AM
Place a button on a worksheet and assign a macro to it? PFB New Users to Excel 7 December 18th 08 03:28 PM
Unable to place Settings Toolbar Button Pantherus Excel Discussion (Misc queries) 2 October 5th 07 02:30 AM
Place the caption of a toggle button into a cell [email protected] Excel Worksheet Functions 2 May 12th 05 04:47 AM
How do I create a macro button and place anywhere on my sheet? Vell H. Holcombe, P.E. Excel Discussion (Misc queries) 1 January 20th 05 04:06 PM


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