Macro to print cells with condition

cambralenta

New Member
Joined
Nov 30, 2009
Messages
23
I need help to make a macro for this:

I have 8 Columns with 55 Rows of data, some have names (always Top Cells), most have blank Cells (Bottom Cells): Range (A3:H57)
STD 1STD 2STD 3MM 1MM 2MM 3VETINF
txt1txt1txt1txt1txt1txt11
txt2txt2txt2txt2txt22
txt3txt3txt3txt33
txt4txt4txt44
txt55
txt66
txt77
...

<tbody>
</tbody>

Below this, I have data Areas (STD1: Area 1 - A61:G64, Area 2 - A65:G68...to Area 55; STD2: Area 1 - H61:N68, Area 2 - H65:N68,...), that catch information from another sheet according to names for each corresponding column above. Range Areas (A61:BD280)

I need a MACRO to print only the areas that correspond to the CELLS with data! In this example it will be:
PRINT STD 1: (A61:G76); PRINT STD 2: (H61:N88)... etc."

It will be nice to have a Macro to print all areas with data, in arranged 1, 2, 3... pages (printed areas don´t need to be sequential).

Thank you in advance for your patience to reed this!
Any suggestion how to do this?
 

Excel Facts

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
I figured out how to make my fist request!
Just don´t know how to merge the Print areas into one page (if it fits)...
Thanks
 
Upvote 0

Forum statistics

Threads
1,214,653
Messages
6,120,748
Members
448,989
Latest member
mariah3

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