#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Delete Cell

hi

I have a button in "dm1" worksheet and when pressed i want it to clear the
contents in worksheet "input screen" d38 and e38

thanks in advance
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 709
Default Delete Cell

cityfc, try this,
Sheets("input screen").Range("D38,E38").ClearContents

--
Paul B
Always backup your data before trying something new
Please post any response to the newsgroups so others can benefit from it
Feedback on answers is always appreciated!
Using Excel 2002 & 2003

"cityfc" wrote in message
...
hi

I have a button in "dm1" worksheet and when pressed i want it to clear the
contents in worksheet "input screen" d38 and e38

thanks in advance



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Delete Cell

Hi Cityfc,

Try:

'=============
Private Sub CommandButton1_Click()
Worksheets("Input Screen").Range("D38:E38").ClearContents
End Sub
'<<=============


---
Regards,
Norman



"cityfc" wrote in message
...
hi

I have a button in "dm1" worksheet and when pressed i want it to clear the
contents in worksheet "input screen" d38 and e38

thanks in advance



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 14
Default Delete Cell

thanks for your help

cityfc

"Norman Jones" wrote:

Hi Cityfc,

Try:

'=============
Private Sub CommandButton1_Click()
Worksheets("Input Screen").Range("D38:E38").ClearContents
End Sub
'<<=============


---
Regards,
Norman



"cityfc" wrote in message
...
hi

I have a button in "dm1" worksheet and when pressed i want it to clear the
contents in worksheet "input screen" d38 and e38

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
Weird: inside of a cell I have a small box or cell I can't delete. ACECOWBOY Excel Discussion (Misc queries) 4 May 2nd 23 03:43 AM
How to delete cell values withour deleting cell formulae perfection Excel Discussion (Misc queries) 5 June 18th 07 09:05 PM
How to delete cell values without affecting cell formulae perfection Excel Discussion (Misc queries) 0 June 18th 07 06:55 AM
Delete cell on 1 page: automatically delete on another page? mountain view Excel Worksheet Functions 0 September 28th 06 04:18 PM
Delete cell contents with input to adjacent cell Ashley Frank Excel Discussion (Misc queries) 1 October 5th 05 04:28 PM


All times are GMT +1. The time now is 03:31 PM.

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"