I would like to run a macro from one workbook that will paste formulas into another open workbook. This process will need to be repeated for multiple workbooks with different names. I am using the following macro but, for some reason, the paste portion is not executing properly (it seems to be hanging up on the Range().Select command). Also, I would like to change the Windows().Activate to allow either a prompt or a generic way to point to the other workbook.
Any help would be greatly appreciated.
Sheets(“Inter-Branch Allocation”).Select
ActiveSheet.Range(“A1216:BI1251”).Select
Selection.Copy
Windows(“3-yr plan prototype v2 TEST.xls”).Activate
Sheets(“Inter-Branch Allocation”).Select
Range(“A1216”).Select
ActiveSheet.Paste