PC Review


Reply
Thread Tools Rate Thread

Cell Clearing

 
 
=?Utf-8?B?dHJ3YXJkNzk=?=
Guest
Posts: n/a
 
      9th Oct 2006
I have a spreadsheet that has alot of 0.00 values in a range of B8:F95 I need
these values to be cleared so I can print with no values in place.
 
Reply With Quote
 
 
 
 
=?Utf-8?B?dHJ3YXJkNzk=?=
Guest
Posts: n/a
 
      9th Oct 2006
Nevermind, I set the followin in place

For Each cell In Range("B7:F100")
If LCase(cell.Value) = "0" Then
cell.Resize(1, 5).ClearContents
End If
Next



"trward79" wrote:

> I have a spreadsheet that has alot of 0.00 values in a range of B8:F95 I need
> these values to be cleared so I can print with no values in place.

 
Reply With Quote
 
Tom Ogilvy
Guest
Posts: n/a
 
      9th Oct 2006
Why not

For Each cell In Range("B7:B100")
If LCase(cell.Value) = "0" Then
cell.Resize(1, 5).ClearContents
End If
Next

to delete B:F for rows where the cell in B contains 0.
--
Regards,
Tom Ogilvy


"trward79" <(E-Mail Removed)> wrote in message
news:6CF6BEBD-3D99-4220-A300-(E-Mail Removed)...
> Nevermind, I set the followin in place
>
> For Each cell In Range("B7:F100")
> If LCase(cell.Value) = "0" Then
> cell.Resize(1, 5).ClearContents
> End If
> Next
>
>
>
> "trward79" wrote:
>
>> I have a spreadsheet that has alot of 0.00 values in a range of B8:F95 I
>> need
>> these values to be cleared so I can print with no values in place.



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Clearing a Cell Value bumper338 Microsoft Excel Programming 3 6th Mar 2008 07:33 PM
Clearing a cell basil Microsoft Excel Misc 4 30th Apr 2007 11:28 AM
Clearing a cell news.microsoft.com Microsoft Excel Programming 1 27th Apr 2006 06:38 PM
clearing a cell =?Utf-8?B?YWhlZ2c=?= Microsoft Excel New Users 2 1st Apr 2006 06:41 AM
clearing a cell genevieveg Microsoft Excel Misc 1 11th Jan 2006 01:26 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 11:06 PM.