Hi all,
I was wondering:
Is it possible to write a macro code, which will paste a predetermined value into a different workbook?
For example, assume I have 3 open workbooks, ie, 3 separate instances of Excel running.
When I run the macro in Workbook 1, I want the value “1” to be pasted into cell A1 of workbook 3. (C:\workbook1.xlsx)
When I run the macro in Workbook 2, I want the value “2” to be pasted into cell A1 of workbook 3. (C:\workbook2.xlsx)
Thus:
The value of Cell A1 in Workbook 3 changes as I specified above (C:\workbook3.xlsx).
Is it possible to write a code that does this?
Many thanks in advance.
ps, I hope I have used correct terminology re: workbooks/worksheets. I am talking about 3 completely separate instances of excel running, and not using tabs within one running excel program.
Bookmarks