LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 358
Default Variable print area via a macro

Hi there,

I need a VBA code I can run via a macro. I have a table of data in Sheet1,
say starting in cell A1 and finihsing in Z250 - its called the Range. I only
want it to print rows that have a certain value in column A. For example, if
A3, A21, A45 all have "incomplete" as their value, then only these 3 rows
would be printed below the set Print Titles. I also need the option to
automatically hide or not print some columns across the page when printing
using this macro, e.g. columns D, F and H. Any help with this would be really
appreciated. Thanks, Andrew.
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Using named range to extend print area for variable number of columns Pierre Excel Worksheet Functions 3 April 10th 08 05:51 PM
How do you set up a macro to reset the print area? Stuck2 Excel Discussion (Misc queries) 0 January 30th 06 03:50 PM
Pivot Table macro to set print area and print details of drill down data Steve Haskins Excel Discussion (Misc queries) 2 December 28th 05 04:59 PM
Create a print macro that would automatically select print area? wastedwings Excel Worksheet Functions 7 August 22nd 05 10:36 PM
Variable print area BOBF Excel Discussion (Misc queries) 2 March 22nd 05 01:47 PM


All times are GMT +1. The time now is 04:45 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"