Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / General Excel Questions / November 2007

Tip: Looking for answers? Try searching our database.

Printing

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Heather - 19 Nov 2007 12:19 GMT
I have a spreadsheet with 5 long columns of information.  I am trying to
print it using 2 "newpaper" columns in portrait format and can't get it.  Can
someone help?
Cheers
Heather
Pete_UK - 19 Nov 2007 13:05 GMT
David McRitchie has some notes and solutions on how to do this, here:

http://www.mvps.org/dmcritchie/excel/snakecol.htm

Hope this helps.

Pete

On Nov 19, 12:19 pm, Heather <Heat...@discussions.microsoft.com>
wrote:
> I have a spreadsheet with 5 long columns of information.  I am trying to
> print it using 2 "newpaper" columns in portrait format and can't get it.  Can
> someone help?
> Cheers
> Heather
Gord Dibben - 19 Nov 2007 17:44 GMT
Public Sub Snake5to10()
Dim myRange As Range
Dim colsize As Long
Dim maxrow As Long
Const numgroup As Integer = 2
Const NUMCOLS As Integer = 5
   On Error GoTo fileerror
   colsize = Int((ActiveSheet.UsedRange.Rows.Count + _
           ((NUMCOLS - 1)) / NUMCOLS)) / numgroup
   'MsgBox "Number of Rows to Move is: " & colsize
   Range("A1").Select
   With ActiveCell.Parent.UsedRange
       maxrow = .Cells(.Cells.Count).Row + 1
   End With
   ActiveCell.Parent.Cells(maxrow, ActiveCell.Column) _
           .End(xlUp).Offset(1, 0).Select
   Set myRange = Range(ActiveCell.Address & ":" _
           & ActiveCell.Offset(-colsize, (NUMCOLS - 1)).Address)
   myRange.Cut Destination:=ActiveSheet.Range("E1")
   Application.CutCopyMode = False
   Range("A1").Select
fileerror:
End Sub

Gord Dibben  MS Excel MVP

>I have a spreadsheet with 5 long columns of information.  I am trying to
>print it using 2 "newpaper" columns in portrait format and can't get it.  Can
>someone help?
>Cheers
>Heather
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.