Help Using a User Defined Function in a Macro

twolfe13

New Member
Joined
Nov 3, 2011
Messages
5
I'm a little over my head here and was hoping someone could help.

I was just given a three spreadsheets:

1) The first spreadsheet is just a collection of macros used to perform some automated calculations and formatting to a set of data.

2) The second is a collection of raw data. The macros are from the first spreadsheet are called and run on this spreadsheet to format and calculate data.

3) The third contains some user defined functions in a module. The data from the formatted sheet 2 is pasted into sheet 3 where these functions are used to calculate some things.

What I have done so far is added the module from (3) containing the user defined functions and copied it into (1). Next, I want to edit one of the modules in (1) and perform the calculations I was doing in (3) within the macro. Basically, I want to call these user defined functions from (3) and use them in a macro in (1) to automate the calculations and append them onto the end of (2).

Thanks for the help!
 

Excel Facts

Who is Mr Spreadsheet?
Author John Walkenbach was Mr Spreadsheet until his retirement in June 2019.

Forum statistics

Threads
1,221,310
Messages
6,159,176
Members
451,543
Latest member
cesymcox

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