I have a excel macro like this:
1. Range("C2").Sel ect
Range(Selection , Selection.End(x lDown)).Select
Selection.Repla ce What:=".", Replacement:="/", LookAt:=xlPart, _
SearchOrder:=xl ByRows, MatchCase:=Fals e, SearchFormat:=F alse, _
ReplaceFormat:= False
Selection.Numbe rFormat = "[$-409]d-mmm-yy;@"
Selection.TextT oColumns Destination:=Ra nge("C2"), DataType:=xlDel imited, _
TextQualifier:= xlDoubleQuote, ConsecutiveDeli miter:=False, Tab:=True, _
Semicolon:=Fals e, Comma:=False, Space:=False, Other:=False, FieldInfo _
:=Array(1, 1), TrailingMinusNu mbers:=True
2. Columns("M:M"). Select
Selection.Inser t Shift:=xlToRigh t
Selection.Inser t Shift:=xlToRigh t
Columns("L:L"). Select
Selection.TextT oColumns Destination:=Ra nge("L1"), DataType:=xlDel imited, _
TextQualifier:= xlDoubleQuote, ConsecutiveDeli miter:=False, Tab:=True, _
Semicolon:=Fals e, Comma:=False, Space:=False, Other:=True, OtherChar _
:=":", FieldInfo:=Arra y(Array(1, 1), Array(2, 1)), TrailingMinusNu mbers:=True
Can you please suggest me the replacement function or the code for above in Access.
1. Range("C2").Sel ect
Range(Selection , Selection.End(x lDown)).Select
Selection.Repla ce What:=".", Replacement:="/", LookAt:=xlPart, _
SearchOrder:=xl ByRows, MatchCase:=Fals e, SearchFormat:=F alse, _
ReplaceFormat:= False
Selection.Numbe rFormat = "[$-409]d-mmm-yy;@"
Selection.TextT oColumns Destination:=Ra nge("C2"), DataType:=xlDel imited, _
TextQualifier:= xlDoubleQuote, ConsecutiveDeli miter:=False, Tab:=True, _
Semicolon:=Fals e, Comma:=False, Space:=False, Other:=False, FieldInfo _
:=Array(1, 1), TrailingMinusNu mbers:=True
2. Columns("M:M"). Select
Selection.Inser t Shift:=xlToRigh t
Selection.Inser t Shift:=xlToRigh t
Columns("L:L"). Select
Selection.TextT oColumns Destination:=Ra nge("L1"), DataType:=xlDel imited, _
TextQualifier:= xlDoubleQuote, ConsecutiveDeli miter:=False, Tab:=True, _
Semicolon:=Fals e, Comma:=False, Space:=False, Other:=True, OtherChar _
:=":", FieldInfo:=Arra y(Array(1, 1), Array(2, 1)), TrailingMinusNu mbers:=True
Can you please suggest me the replacement function or the code for above in Access.
Comment