I've written a lot of VBA code in the last 2 years (Excel 2010), and have a recurring need within one Sub that I think would be best served by "calling" a Function from the Sub. I've been unsuccessful in setting the function up. There must be a trick I'm unaware of. It seems so simple. I've Googled it until my fingers bleed. When I create a VBA program, I simply go to the "Developer" tab on the Excel ribbon, then to "Macros", name the VBA code, insert the code, save it and I'm good to go. But again, not sure how/where to put the Function code. Could I get some help?