Run continuous macro with input file attached to it

shansakhi

Active Member
Joined
Apr 5, 2008
Messages
276
Office Version
  1. 365
Platform
  1. Windows
Hello All,
I have 8 macros running based on a cell value.
How do I change the values continuously until the cell values in another sheet comes to end.
Below are the steps I am looking for

1. Sheet1 has 'n' number of Cell values under two column - Column A(POS) and Column B (DO)
2. Sheet2 has a macro attached to it, based on cell values of POS and DO. But here we are currently manually entering the data.
3. Once cell values added we run the macro and data gets populated.
4. How do I link Sheet1 to it so that POS and DO values will auto populate in Sheet2.
5. Once values are auto populated we want the exiting macros to run and then copy (as values & Format) the data in new workbook with POS-DO name one after one in same workbook for all POS and DO combination.

I hope, I am able to explain it properly.

Regards,
 

Excel Facts

Which lookup functions find a value equal or greater than the lookup value?
MATCH uses -1 to find larger value (lookup table must be sorted ZA). XLOOKUP uses 1 to find values greater and does not need to be sorted.

Forum statistics

Threads
1,215,071
Messages
6,122,963
Members
449,094
Latest member
Anshu121

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