Is there a way to copy formulas from one excel file to all other excel files ?

szakharov7723

Board Regular
Joined
Jun 22, 2018
Messages
85
Office Version
  1. 2019
Platform
  1. Windows
So I have certain formulas (in range) in one excel file, and I need to copy-paste them into other excel files grouped in folders.
I wonder if it is possible to do it with VB coding or any other methods ?

Formula range is simple and looks something like this:
=A6=I9=AZ3=O12=L1
=AA4=J2=Q1=U9=V17
=B7=AA1=P2=N14=AZ6
=Z1=C8=G12=P32=B12

<tbody>
</tbody>


other files have the same data structure, hence copy-paste range is the same. The only problem is high amount of files, so it would take lot's of time to do it manually.
 

Excel Facts

Excel Joke
Why can't spreadsheets drive cars? They crash too often!
Hi Szakharov,
that sounds like something VBA could handle for you but might indeed take some time. To get you started:
-switch macro recording on and do it for one file manually
-use e.g. this code https://www.mrexcel.com/forum/excel...g-excel-files-external-links.html#post5346946 to get a list of all excel files (you might want to change the macro so it only lists specific files (maybe identified by some name or feature?)
-merge those two blocks into one bit of code that can update all files for you.

If you get stuck, please post your code here so people can help you further.

Cheers,

Koen
 
Upvote 0

Forum statistics

Threads
1,214,639
Messages
6,120,679
Members
448,977
Latest member
dbonilla0331

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top