+ Reply to Thread
Results 1 to 6 of 6

Combining Columns For Printing

  1. #1
    Registered User
    Join Date
    07-03-2015
    Location
    Ontario, Canada
    MS-Off Ver
    2013
    Posts
    3

    Combining Columns For Printing

    I have 11 columns of that I have been asked to format and reorganized into 1-1/2" x 1/4" box. The only way know how to do this, is by taking the information and manually enter it into a box using Word. There is an example of what I mean in the image that I uploaded with this thread. I am inquiring on how I would go about doing this in a more efficient manor, preferably staying withing excel. Thank you for your time, if this is not the write forum for this topic I am really sorry.
    excel.png

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Combining Columns For Printing

    Hi Adrian,

    Welcome to the Forum!

    Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.

    Remember to desensitize the data.

    Click on GO ADVANCED and use the paperclip icon to open the upload window.

    View Pic
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

  3. #3
    Registered User
    Join Date
    07-03-2015
    Location
    Ontario, Canada
    MS-Off Ver
    2013
    Posts
    3

    Re: Combining Columns For Printing

    Hey Xladept,

    Thanks for the warm welcome. In this response, I have uploaded the files that you asked for. The before file is very similar to the actually document I working with but hundreds of rows, so I took the liberty of slimming it down. The after file is pretty much what I want to be able to do inside excel without having to manually type hundreds of entries.

    I think I also desensitized the documents, most the information there can be found on google.

    Cheers!
    Attached Files Attached Files
    Last edited by adrianpinnock; 07-03-2015 at 06:19 PM.

  4. #4
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Combining Columns For Printing

    Hi Adrian,

    Try this:

    Please Login or Register  to view this content.
    Directions for running the routine(s) just supplied

    If you haven't used macros before you'll need to go to:
    File- options - trust center -trust center settings - macro settings ,
    the second option down (disable all macros with notification)

    Then - Copy the code to the clipboard

    Open your Workbook

    Press ALT + F11 to open the Visual Basic Editor.

    Select "Module" from the Insert menu

    Type "Option Explicit" then paste the code under it

    With the cursor between Sub and End Sub press F5 (F8 to Single Step)

    OR

    Press ALT + Q to close the code window.

    Press ALT + F8 then double click on the macro name
    Last edited by xladept; 07-03-2015 at 11:41 PM.

  5. #5
    Registered User
    Join Date
    07-03-2015
    Location
    Ontario, Canada
    MS-Off Ver
    2013
    Posts
    3

    Re: Combining Columns For Printing

    Hey Xladept,

    I can't believe you actually were capable of doing this, you are amazing. I thought it was possible, but I honestly didn't think it was something that a complete stranger would be able to help me with. I am just wondering if you would be okay with me editing your script so that the "Zip Code" was on the same line as the rest of the address information.

    Thank You,

    I honestly was having the hardest time searching for how to do what you just did for me.

  6. #6
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Combining Columns For Printing

    Maybe:

    Please Login or Register  to view this content.
    Last edited by xladept; 07-04-2015 at 01:36 PM. Reason: Rewrite of Program

+ 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. Combining data in multiple columns(all columns have same length)into one column
    By nzi0001 in forum Excel Programming / VBA / Macros
    Replies: 19
    Last Post: 07-24-2014, 11:19 AM
  2. Combining multiple rows from 2 columns into sorted columns depending on 1st columns value
    By Dexamphetamine in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-11-2013, 10:00 AM
  3. Replies: 3
    Last Post: 07-16-2012, 03:24 AM
  4. Replies: 2
    Last Post: 01-19-2011, 06:16 PM
  5. Combining Text from 2 Columns into 1 then Deleting the 2 Columns
    By sleepindogg in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 03-30-2006, 02:30 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