Need Assistance With Complicated Mcaro

Delta Star

Board Regular
Joined
Oct 28, 2009
Messages
184
I've had a look on previous posts but cannot find what I'm after, so once again I'm asking for help.

I have a workbook called Report and another called DataFigures. I need to setup a macro on the Report workbook that will:-

  1. Change the value in cell D3 on a sheet called Supplies of the Datafigures file to "Outstanding".
  2. Run a macro in the Datafigures file called "UpdatedFormulas".
  3. Copy the data from the Supplies sheet (cells B3:CD5671) of the DataFigures file and paste into the Report file into a sheet called "PrintOutstanding".
As you can see this is a complicated task and I would therefore appreciate any guidence/help.

Thanks in advance.
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.

bobsan42

Well-known Member
Joined
Jul 14, 2010
Messages
1,871
Office Version
  1. 365
  2. 2019
  3. 2016
  4. 2013
Platform
  1. Windows
Open the two workbooks before trying this:
Code:
Sub testme()
Workbooks("Datafigures").Activate
Workbooks("Datafigures").Sheets( "Supplies").Range("D3") = "Outstanding"
call UpdatedFormulas
Sheets( "Supplies").Range ("B3:CD5671").copy
Workbooks("Report").Activate
Sheets("PrintOutstanding").Range ("B3:CD5671").PasteSpecial xlPasteAll
End Sub
will this do?
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,168,033
Messages
5,856,941
Members
431,841
Latest member
jaybeem

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
Top