Hello all,
I've created a template in excel to calculate various results (mean, standard deviation, etc.) I have column A dedicated to numbering (1-100); B-O for users to enter their own information, columns P-W have various calculation formulas. Rows 12-111 are where data (analyte names and associated values for calculations) will be entered. My co-workers will use this, so I want this to automatically print the appropriate selection without them having to do a print selection. They may have anywhere from 1-100 analytes to calculate. The Sheet name is MDL Calc Form.
I always want all columns to print and I always want the first 11 rows to print, but I only want the rows from 12:111 to print if data is entered in merged column B:C (Analyte Name). Unfortunately for me, since I have formulas extending down to 111, the macro I was trying to use reads that as a value and I cannot figure out a way around this.
So, always print area: A1-A11:W1-W11
Only print A12-W12 if BC12 has value
Only print A13-W13 if BC13 has value, etc. etc.
Also, I think I can save the workbook to automatically print 'fit all columns on one page' so it always prints that way, but in case I am wrong please include that also. I couldn't figure out a way to attach the excel file either.
I would be forever grateful to anyone who could write me a macro to do this. I am utterly lost and have little coding knowledge. Please help!
Thank you!!
jkarns
Bookmarks