mcarter973
Board Regular
- Joined
- Mar 24, 2002
- Messages
- 83
I have a macro that opens a file and will find/replace values -- the file will then close quietly. Is there a way to run the macro w/o the file opening/closing - this process seems inefficient?
Thanks.
Workbooks.Open FileName:= _
"R:123.xls"
For Each myExample In Range("A:A")
If myExample.Value Like "123*" Then
myExample.Value = "test"
End If
Next myExample
.
.
.
.
.
ActiveWorkbook.Close False
End Sub
Thanks.
Workbooks.Open FileName:= _
"R:123.xls"
For Each myExample In Range("A:A")
If myExample.Value Like "123*" Then
myExample.Value = "test"
End If
Next myExample
.
.
.
.
.
ActiveWorkbook.Close False
End Sub