+ Reply to Thread
Results 1 to 3 of 3

To Select Cells and format them, when there are uneven number of rows and columns

  1. #1
    Registered User
    Join Date
    07-30-2013
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    2

    To Select Cells and format them, when there are uneven number of rows and columns

    Hi,

    I have a file with data in both rows and columns.
    There are some empty cells.
    the cells contain numbers or strings.

    I need to format this sheet.
    Bold all the strings
    Draw a table border
    and centre all the contents in each cell.

    I don't know how to generalise the range and make it the selection.
    Attached Files Attached Files

  2. #2
    Registered User
    Join Date
    05-14-2013
    Location
    Austin, Texas
    MS-Off Ver
    Excel 2003/2010
    Posts
    17

    Re: To Select Cells and format them, when there are uneven number of rows and columns

    Welcome to the Excel Forum!

    I think this is what you are looking for. Please back up your excel workbook before running this macro!

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    07-30-2013
    Location
    Coimbatore, India
    MS-Off Ver
    Excel 2010
    Posts
    2

    Re: To Select Cells and format them, when there are uneven number of rows and columns

    thank you for the code! but it is not formating the text. it only formats the number columns. I would like it to even format the text columns. how can i do that?

+ 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. How to Turn repeated uneven blocks of rows into columns array
    By kimyuval in forum Excel Formulas & Functions
    Replies: 8
    Last Post: 04-26-2013, 06:11 PM
  2. Combining Text split across uneven number of rows
    By DominicJ in forum Excel General
    Replies: 4
    Last Post: 07-26-2012, 09:31 AM
  3. Running formula with uneven number of rows
    By jacquiG in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 07-18-2012, 04:56 AM
  4. Replies: 6
    Last Post: 07-05-2011, 07:18 PM
  5. Cells with same value, rows with same color. Uneven list
    By Macuil0101 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-04-2011, 08:00 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