O
oercim
Hello. I need help. I am not a profession VBA programmer. I want to
create macro such that it will copy some cells from a file(let C:
\folder\file1) to other filelet C:\folder\file2).
The below macro isnot my main macro. However if it works, I can make
work may main macro. But the below one doesnt work, with same style
how can I make it work? Thanks alot
I try to copy "cell(1,1) of Sheet1 of C:\folder\file1" to "cell
(1,1) of Sheet1 of C:\folder\file2"
Sub macro1()
F1 = "C:\folder\file1"
F2 = "C:\folder\file2"
F2.Sheets("Sheet1").Cells(1,1) = F1.Sheets("Sheet1").Cells(1,1)
End Sub
create macro such that it will copy some cells from a file(let C:
\folder\file1) to other filelet C:\folder\file2).
The below macro isnot my main macro. However if it works, I can make
work may main macro. But the below one doesnt work, with same style
how can I make it work? Thanks alot
I try to copy "cell(1,1) of Sheet1 of C:\folder\file1" to "cell
(1,1) of Sheet1 of C:\folder\file2"
Sub macro1()
F1 = "C:\folder\file1"
F2 = "C:\folder\file2"
F2.Sheets("Sheet1").Cells(1,1) = F1.Sheets("Sheet1").Cells(1,1)
End Sub