LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Macro for Printing Only Displayed Data


I have created an inventory database from which I send info to severa
other sheets using Macros recorded while using the Advanced Filte
function. The resulting pages, such as Sales Reports and Curren
Inventory, can vary in length each time, from 10 to 200 items or more
depending on the Criteria I’ve chosen. I have included an IF functio
down column A to A400 on each sheet so that it will display the nex
consecutive number of each item that appears. I have also selected th
Column Titles to be printed at the top of each page.

Problem: I am now trying to create Macros connected to a Button o
each Sheet that will print only the pages to include the last row i
the inventory list or sales report list, and exclude the empty page
which I assume Excel seems to include because of the formulas in colum
A.

Can someone please suggest a Macro which can be adjusted for each page
I usually create my macros by “Recording” them but will try to follo
your suggestions if I need to “write” them.
Thanks, Jea

--
Jean
-----------------------------------------------------------------------
Jean M's Profile: http://www.excelforum.com/member.php...fo&userid=1596
View this thread: http://www.excelforum.com/showthread.php?threadid=27723

 
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
Cell borders are displayed but not printing or on print preview Thel Excel Discussion (Misc queries) 0 March 15th 10 08:15 AM
Macro for hiding zero data rows while printing Sandy Excel Discussion (Misc queries) 1 December 8th 09 10:48 AM
Repeat form printing with new data by macro Alec H Excel Discussion (Misc queries) 1 February 22nd 06 03:26 PM
Force macro security warning to be displayed Daniel Klann[_2_] Excel Programming 0 January 29th 04 04:35 AM
Printing displayed sheets rduke0[_2_] Excel Programming 1 December 9th 03 10:57 PM


All times are GMT +1. The time now is 10:23 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"