Results 1 to 4 of 4

Merge cell with blanks below and repeat for entire column.

Threaded View

kleptilian Merge cell with blanks below... 03-04-2015, 11:51 AM
JasperD Re: Merge cell with blanks... 03-04-2015, 12:11 PM
kleptilian Re: Merge cell with blanks... 03-04-2015, 12:17 PM
JasperD Re: Merge cell with blanks... 03-04-2015, 12:34 PM
  1. #1
    Forum Contributor
    Join Date
    03-14-2013
    Location
    FL
    MS-Off Ver
    Excel 2013
    Posts
    123

    Merge cell with blanks below and repeat for entire column.

    Hello,

    I am working on writing a macro to make a report "Pretty" to send out to clients.

    I know you should try and stay away from merging with VBA, however I don't have much of a choice as i need to make it simple enough for our users to execute.

    I have attached my example. I have the following code to merge the cells, however i don't know how to get it in a macro that will execute the entire column not just the selection.

        Selection.End(xlDown).Select
        ActiveCell.Offset(-1, 0).Range("A1").Select
        Range(Selection, Selection.End(xlUp)).Select
        With Selection
            .HorizontalAlignment = xlCenter
            .VerticalAlignment = xlTop
            .WrapText = True
            .Orientation = 0
            .AddIndent = False
            .IndentLevel = 0
            .ShrinkToFit = False
            .ReadingOrder = xlContext
            .MergeCells = False
        End With
        Selection.Merge
    Attached Files Attached Files

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Copy entire column to another program without blanks?
    By Speshul in forum Excel General
    Replies: 3
    Last Post: 08-05-2014, 03:53 PM
  2. [SOLVED] Repeat column without blanks
    By TPDave in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 04-25-2014, 09:44 AM
  3. not showing blanks when using lookup for entire column
    By NinjaBear in forum Excel General
    Replies: 1
    Last Post: 11-22-2011, 11:24 AM
  4. Repeat for entire column
    By Kochanski in forum Excel General
    Replies: 4
    Last Post: 12-01-2010, 05:32 AM
  5. How to repeat a function through an entire column
    By gfoulks in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-16-2005, 08:19 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