LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #6   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
just check that you want to match the whole cell

--
Regards
Frank Kabel
Frankfurt, Germany
"One-Leg" schrieb im Newsbeitrag
...
Hello,

Using Edit/Replace does the same thing...

"Frank Kabel" wrote:

Hi
then use 'Edit - Replace' for this

--
Regards
Frank Kabel
Frankfurt, Germany
"One-Leg" schrieb im Newsbeitrag
...
Hello,

I have many cells with numbers in them and many come up with only a "0"
in
them. I want to use a macro that will see the value of the cell and if
it
is
"0", then I would like to clear the cell. If it's anything else than
"0",
nothing should be done!!!

Thanks

"Frank Kabel" wrote:

Hi
what are you trying to achieve ?

--
Regards
Frank Kabel
Frankfurt, Germany
"One-Leg" schrieb im Newsbeitrag
...
Hello,

I'm using the following in a macro but it doesn't work:

Range("A2:A65536").Select
If Cells.Select = "0" Then Selection.ClearContents

What should I change???








 
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
border color in forms group box Yvette Excel Discussion (Misc queries) 1 December 10th 04 11:13 PM
Excel 2003 Forms Crash on Tablet PC all other OSs Ok JD Excel Discussion (Misc queries) 0 December 8th 04 11:26 PM
Print margins on forms lchu80 Excel Discussion (Misc queries) 1 December 8th 04 11:01 PM
Group buttons from the forms toolbar GregR Excel Discussion (Misc queries) 1 December 7th 04 01:25 AM
Pointer please KiwiBrian Excel Discussion (Misc queries) 3 November 29th 04 10:09 PM


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