Dear all
Attached with file, the column a(sheet1) after vba code
Should same as column a(sheet2).
That is: the code should replace 0w by null
But the code don’t work
Pls help
Tks
Tom
Dear all
Attached with file, the column a(sheet1) after vba code
Should same as column a(sheet2).
That is: the code should replace 0w by null
But the code don’t work
Pls help
Tks
Tom
Like explained in VBA help so as a very beginner starter :
PHP Code:
Sub Demo1()
Sheet1.Cells(1).CurrentRegion.Replace "w", "", xlWhole, , True
End Sub
Do you like it ? So thanks to click on bottom left star icon « ★ Add Reputation » !
![]()
Sub Replace() 'LastRow = Cells(Rows.Count, 1).End(xlUp).Row 'For i = 1 To LastRow 'Columns("a:a").Select Columns("a:a").Replace What:="w", Replacement:="", LookAt:=xlWhole, _ SearchOrder:=xlByColumns, MatchCase:=True, SearchFormat:=False, _ ReplaceFormat:=False End Sub
Thanks All, That work perfect
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks