Results 1 to 5 of 5

Format table with variable number of entries

Threaded View

  1. #1
    Registered User
    Join Date
    05-16-2016
    Location
    Portugal
    MS-Off Ver
    2003/2010
    Posts
    2

    Question Format table with variable number of entries

    also in http://www.mrexcel.com/forum/excel-q...ml#post4522474


    Hi everyone,

    I'm trying to get a file formatted automatically. This file is extracted from another program every week or so.
    In the image (couldn't upload a xlm file for some reason), you can see an example of what I want to achieve. At the top, you see how the data is initially formated, and below how I want it to be.
    I've created a macro but the problem is that the macro only works for files with the same number of entries. This table as a variable number of entries: 1 week it has 10 rows, the other 15, the next 8...you get the idea
    How can I format the file for a variable number of entries?
    vba.png

    Thank you,
    ccarvalho
    Last edited by ccarvalho; 05-16-2016 at 04:27 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Create table based on number of entries
    By anagouveia in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-23-2015, 09:00 AM
  2. Replies: 2
    Last Post: 11-09-2015, 04:52 PM
  3. [SOLVED] Assign different named ranges based on variable number of entries
    By BrotherNeptune in forum Excel Programming / VBA / Macros
    Replies: 17
    Last Post: 07-17-2015, 10:15 AM
  4. Variable Number Format
    By rbirch in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-05-2015, 10:59 AM
  5. [SOLVED] Sorting rows of data based off a single column for a variable number of entries.
    By soxcrates in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-28-2012, 12:31 PM
  6. Replies: 3
    Last Post: 01-12-2010, 06:49 AM
  7. [SOLVED] Adding the number of table entries by type
    By Sav_C in forum Excel Formulas & Functions
    Replies: 6
    Last Post: 08-07-2006, 03:15 AM

Tags for this Thread

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