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

in this macro i am trying to find and replace data in the rows of a
particular column (25th). can someone guide me where im going wrong?

Sub ReplaceData()
Dim x As Integer
For x = 2 To 40000
Cells(x, 25).Select
cell.Value = Replace(cell.Value, "FALSE", "FAL")

Next x
End Sub



this code gives an overflow error

 
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 09:41 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"