Results 1 to 5 of 5

Wrap text on all columns from D and higher

Threaded View

  1. #1
    Registered User
    Join Date
    08-23-2013
    Location
    Florida, USA
    MS-Off Ver
    Excel 2013
    Posts
    4

    Wrap text on all columns from D and higher

    I have been trying to find a macro that changes all columns wider than 50, to 50, and wrap text.

    I have recorded a macro, but don't know how to start it from column D and only to change columns wider than 50.

    Here's my starting point, but it's just a simple recorded macro.

    Sub Macro1()
    '
    ' Macro1 Macro
    '

    '
    Selection.ColumnWidth = 50
    With Selection
    .HorizontalAlignment = xlLeft
    .VerticalAlignment = xlBottom
    .WrapText = True
    .Orientation = 0
    .AddIndent = False
    .IndentLevel = 0
    .ShrinkToFit = False
    .ReadingOrder = xlContext
    .MergeCells = False
    End With
    End Sub
    thanks
    Last edited by davbran; 01-22-2014 at 05:09 PM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. [SOLVED] Wrap Text in ListView: how to wrap text in the columns of a list view
    By TommyToe in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2012, 07:02 AM
  2. Text wrap and allow cell height to increase with wrap
    By tpenterprize in forum Excel General
    Replies: 1
    Last Post: 10-19-2007, 02:30 PM
  3. Split text like line wrap into multi columns
    By 1scant in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 02-16-2006, 03:53 PM
  4. WRAP a text line over several columns without merging cells
    By Conrad in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-22-2005, 05:05 AM
  5. WRAP a text line over several columns without merging cells
    By Conrad S in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 03-22-2005, 01:06 AM

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