Djblois
05-21-2007, 06:28 AM
Is it possible to set a variable to the name of the sub without doing it manually? I use this code in every sub:
SaveSetting "Business Reporting Today", "Debug", "End", "comBandRows"
'"comBandRows" is the name of the sub, I find it very tedious to have to change the name to the sub after I copy over the line, so I want to know if I can replace "comBandRows" with a variable or replace it with a code that will name it after the sub?
SaveSetting "Business Reporting Today", "Debug", "End", "comBandRows"
'"comBandRows" is the name of the sub, I find it very tedious to have to change the name to the sub after I copy over the line, so I want to know if I can replace "comBandRows" with a variable or replace it with a code that will name it after the sub?