Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 12
Default How to delete content in spreadsheet before new computation?

Hi there,

I click on my control "Compute" and then populate my spreadsheet with
results on colums C and rows R (actually, the first two rows are my header
rows).

How can I automatically delete all these worksheet entries before I redo the
computation?

Thank you for your help.
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8,520
Default How to delete content in spreadsheet before new computation?

Do you mean

Range("A1:J2").ClearContents

OR

Rows("1:2").clearcontents

If this post helps click Yes
---------------
Jacob Skaria


"FSPH" wrote:

Hi there,

I click on my control "Compute" and then populate my spreadsheet with
results on colums C and rows R (actually, the first two rows are my header
rows).

How can I automatically delete all these worksheet entries before I redo the
computation?

Thank you for your help.

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,298
Default How to delete content in spreadsheet before new computation?

also, to leave your headings in rows 1 & 2 in tact try
range("C3:C" & rows.count).Clearcontents

what do you mean by row R?

"FSPH" wrote:

Hi there,

I click on my control "Compute" and then populate my spreadsheet with
results on colums C and rows R (actually, the first two rows are my header
rows).

How can I automatically delete all these worksheet entries before I redo the
computation?

Thank you for your help.

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
Delete content but not formulas Jake F Excel Discussion (Misc queries) 2 March 25th 09 01:41 PM
How do I delete only the content of cells that are NOT protected? DrDisk7 Excel Discussion (Misc queries) 1 May 17th 08 04:38 PM
DELETE CONTENT ADVISOR??? boyd66 Setting up and Configuration of Excel 1 August 26th 06 05:59 PM
Delete cell content Chuck Neal Excel Discussion (Misc queries) 3 June 14th 06 05:05 PM
Delete rows by content Raza Excel Worksheet Functions 3 November 19th 05 09:20 PM


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