+ Reply to Thread
Results 1 to 2 of 2

Code to print in continuous columns in Excel

  1. #1
    Forum Contributor
    Join Date
    02-25-2013
    Location
    Cleveland, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    116

    Code to print in continuous columns in Excel

    Hi,
    I need to print a worksheet columns as continuous columns to the right of the preceding one, keeping continuity of data, before moving to page 2 The workbooks frequently have additions and deletions of rows, so a cut-n-paste into Word to convert to columns is inefficient. The formatting should follow – which is the colour coding, merged cells, etc., and the number of columns may vary from workbook to workbook so the code should be flexible. What is critical is that the merged cell data should repeat onto the next set or bracket of columns.
    I have a sample workbook. Worksheet 1 has three columns with column A having merged cells. Worksheet 2 has two columns and the merged cells are two columns used as a “header” or title. Worksheet 3 and Worksheet 4 show what the printout should look like. Ideally it should adjust to 1 page, but can move to additional pages if the data is extensive.
    I need a VBA macro to generate the printout in continuous columns, flexible page size/orientation, format that can vary i.e. Letter, Legal, etc., I use Excel 2013.
    Can someone please write me a code for this?
    Thank you,
    SP

  2. #2
    Forum Contributor
    Join Date
    02-25-2013
    Location
    Cleveland, Ohio
    MS-Off Ver
    Excel 2007
    Posts
    116

    Re: Code to print in "Snake" or continuous columns in Excel

    Hi.
    I'm not sure if this is the correct place to post my thread as I have no responses so far. Can someone please respond?
    Thank you,
    SP
    Last edited by stpeter; 03-28-2018 at 04:17 PM. Reason: Changing Title to more commonly used reference

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. VBA code to identify a continuous range
    By rshnkmr39 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 11-09-2014, 06:37 AM
  2. continuous variables across columns and rows
    By freak11 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-22-2014, 07:49 PM
  3. Code to print columns with active rows not working
    By debbiesh in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-11-2009, 05:14 PM
  4. Set Page Size To Print Continuous Labels
    By swordswinger710 in forum Excel General
    Replies: 0
    Last Post: 03-30-2009, 03:30 PM
  5. Continuous Date Columns
    By scotfitz in forum Excel General
    Replies: 3
    Last Post: 03-31-2008, 07:30 AM
  6. [SOLVED] Continuous conversion of data from rows to columns
    By Karaman in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-04-2005, 12:06 PM
  7. [SOLVED] How do I print on continuous label paper in Excel?
    By Viktor in forum Excel General
    Replies: 2
    Last Post: 02-01-2005, 12:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1