I have a report file, in some section i am copying a table from a remote computer into local excel file, but after copy date's are not like date, i need to search & replace everytime ( search "." replace with "." )then dates comes. I have a vba code but not correcting in all sheets.
It works with normal ctrl+H but macro doesnt fix it. Please help me.
PHP:
Sub tarihecevir() Dim sht As Worksheet
Dim fnd As Variant
Dim rplc As Variant
fnd = "."
rplc = "."
For Each sht In ActiveWorkbook.Worksheets
sht.Cells.Replace what:=fnd, Replacement:=rplc, _
LookAt:=xlPart, SearchOrder:=xlByRows, MatchCase:=False, _
SearchFormat:=False, ReplaceFormat:=False
Next sht End Sub
It works with normal ctrl+H but macro doesnt fix it. Please help me.