VBA - Call 2 Subs

Vampy99

New Member
Joined
Jul 13, 2011
Messages
42
Hi,

I have a spreadsheet which is a user report, users choose a date from a UserForm & click a button, then the report populates excel with some data for that date.

After choosing the date the click a button on the UserForm which runs "Sub PopulateDetails".

On the output sheet there is another button which isn't always pressed, it's more for extra bits of info. For this I have another procedure called "Sub CalculateProjections". To get accurate information I need the first Sub to run before this one, without merging the 2 subs in to one is there a way to call one Sub inside another or create something that will run one Sub & then run another?

Thanks,

Luke
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,224,595
Messages
6,179,798
Members
452,943
Latest member
Newbie4296

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