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: 42
Default how to prevent a bitmap from "bleeding" over two pages?

(I thought that I posted this last night but, for whatever reason, it doesn't
appear in the discussion group. So, I'm posting it, again. Sorry if this is
a duplicate.)

At the very end of my macro, I "Insert Picture From File." The bitmap is
"inserted" at the end (after the last row) of my data. The problem is that
the data can end on practically any Row (my results vary all the time) and,
when the spreadsheet is printed, the printout can be anywhere from 1 to 4
pages. So when I insert the bitmap, half the bitmap might print at the
bottom of page two and then the rest of it prints at the top of page three.
(or it bleeds over pages 1 and 2 or pages 3 and 4, again depending upon how
much data there is). I need to make sure that the whole bitmap is printed
together on the same page.

So, how can I "tell" the macro to insert the bitmap at the top of the next
page if (and only if) it won't totally fit on the previous page?

FYI, I'm not sure how often my macro executes the following (partial)
command but it does exist in the macro so I'm listing it here, just in case
it matters (this sets the page length to 74 lines, I think?):
i = Val(lrow) / 74

Thanks. Dan

(I'm a salesman, not a programmer.)



 
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
buttons bleeding onto multiple pages uncdubya Setting up and Configuration of Excel 0 April 20th 10 06:47 PM
Excel - Golf - how to display "-2" as "2 Under" or "4"as "+4" or "4 Over" in a calculation cell Steve Kay Excel Discussion (Misc queries) 2 August 8th 08 01:54 AM
In Excel 2003 is there a way to prevent "Save As" and "Print"? lucky2000 Excel Discussion (Misc queries) 3 April 26th 07 02:49 PM
Count occurences of "1"/"0" (or"TRUE"/"FALSE") in a row w. conditions in the next BCB New Users to Excel 7 May 13th 06 10:02 PM
Linking two "total" pages to create a "Complete Total" page Jordon Excel Worksheet Functions 0 January 10th 06 11:18 PM


All times are GMT +1. The time now is 06:06 AM.

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"