Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default blank row macro with page breaks


So, in other words my situation is hopeless?

Tom Ogilvy Wrote:
The code does nothing with pagebreaks. You would need to determin
where
the pagebreaks are on each insertion and then see how many rows need t
be
inserted if there is a problem. This would need to be done from th
first
row to the last row and you are moving from the last to the first, s
you
would probably need to do that in a separate loop.

You could just put in a pagebreak at each change in part number. D
you
want to do that?

--
Regards,
Tom Ogilvy



--
DK
-----------------------------------------------------------------------
DKY's Profile: http://www.excelforum.com/member.php...fo&userid=1451
View this thread: http://www.excelforum.com/showthread.php?threadid=27151

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default blank row macro with page breaks

Not if someone wants to invest the time to write a solution for you. It
certainly isn't a trivial undertaking.

--
Regards,
Tom Ogilvy

"DKY" wrote in message
...

So, in other words my situation is hopeless?

Tom Ogilvy Wrote:
The code does nothing with pagebreaks. You would need to determine
where
the pagebreaks are on each insertion and then see how many rows need to
be
inserted if there is a problem. This would need to be done from the
first
row to the last row and you are moving from the last to the first, so
you
would probably need to do that in a separate loop.

You could just put in a pagebreak at each change in part number. Do
you
want to do that?

--
Regards,
Tom Ogilvy



--
DKY
------------------------------------------------------------------------
DKY's Profile:

http://www.excelforum.com/member.php...o&userid=14515
View this thread: http://www.excelforum.com/showthread...hreadid=271517



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default blank row macro with page breaks


Now that I'm revisiting this with a little more experience and knowledge
I still don't know how I would do this. Here's what I'm thinking the
process might be in english.

For Pagebreak = Pagebreak +1
If the page break does not have a blank row under it Then
move up the rows until you find a blank row and insert spaces until the
data has moved below the page break and there is a blank row under the
page break.
End If
Next Pagebreak

Problem is, I have no idea how to code this further then what I've done
above. How do I get the pagebreak in code?


--
DKY
------------------------------------------------------------------------
DKY's Profile: http://www.excelforum.com/member.php...o&userid=14515
View this thread: http://www.excelforum.com/showthread...hreadid=271517

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default blank row macro with page breaks


Or, maybe.... Can I do something like this?

Clear all page breaks

Put page break at 40 rows down (or some number)
If row under the page break has a value then
place page break at 40 rows - 1
End i

--
DK
-----------------------------------------------------------------------
DKY's Profile: http://www.excelforum.com/member.php...fo&userid=1451
View this thread: http://www.excelforum.com/showthread.php?threadid=27151

  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default blank row macro with page breaks


::bump::::bump::


--
DKY
------------------------------------------------------------------------
DKY's Profile: http://www.excelforum.com/member.php...o&userid=14515
View this thread: http://www.excelforum.com/showthread...hreadid=271517



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default blank row macro with page breaks


This must be a really tough one, I search and search and can't find
anything on it.


--
DKY
------------------------------------------------------------------------
DKY's Profile: http://www.excelforum.com/member.php...o&userid=14515
View this thread: http://www.excelforum.com/showthread...hreadid=271517

Reply
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
Vertical page breaks won't drag in Page Break Preview Caroline Excel Discussion (Misc queries) 0 July 14th 09 12:19 PM
How do I do page breaks when view menu doesnt page break preview HeatherF55 Excel Discussion (Misc queries) 0 September 21st 07 04:24 AM
blank row macro with page breaks DKY[_19_] Excel Programming 0 October 22nd 04 02:20 PM
blank row macro with page breaks DKY[_18_] Excel Programming 1 October 22nd 04 02:09 PM
Macro to insert page breaks when values in 1 or more columns changes Michael G Excel Programming 5 October 3rd 03 01:48 AM


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