LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10,593
Default problem with replace command

If IsEmpty(Cells(x, 25).Value) Then Cells(x, 25).Value = "TRU"

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"ruchie" wrote in message
ups.com...
Cells(x, 25).Value = Replace(Cells(x, 25).Value, "", "TRU")

should this work to replace blanks as well?





 
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
Find and Replace Command ManhattanRebel Excel Discussion (Misc queries) 1 May 18th 09 02:07 AM
Replace menu command not working RS Excel Discussion (Misc queries) 2 January 29th 07 05:57 PM
where is the search/replace command located docdon Excel Worksheet Functions 5 October 27th 06 10:56 PM
replace cut command Jeff Higgins Excel Programming 0 February 1st 05 01:35 AM
replace command Jean-Francois Excel Discussion (Misc queries) 2 January 11th 05 04:43 PM


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