Hi all,
Trying to understand a loop, but not getting there, I would like to have a vba with a list of files:
File1.xlsm
File2.xlsm
File20.xlsm
And then have these steps repeated
Range("U46:AV46").Select
Selection.Replace What:="$PG$", Replacement:="$QK$", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False, FormulaVersion:=xlReplaceFormula2
Selection.Replace What:="$45", Replacement:="$46", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False, FormulaVersion:=xlReplaceFormula2
Anybody able to help?
Trying to understand a loop, but not getting there, I would like to have a vba with a list of files:
File1.xlsm
File2.xlsm
File20.xlsm
And then have these steps repeated
Range("U46:AV46").Select
Selection.Replace What:="$PG$", Replacement:="$QK$", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False, FormulaVersion:=xlReplaceFormula2
Selection.Replace What:="$45", Replacement:="$46", LookAt:=xlPart, _
SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
ReplaceFormat:=False, FormulaVersion:=xlReplaceFormula2
Anybody able to help?