+ Reply to Thread
Results 1 to 3 of 3

VBA if possible- To do auto "format as table" that adjust depends on the length of data

  1. #1
    Registered User
    Join Date
    09-05-2014
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    13

    VBA if possible- To do auto "format as table" that adjust depends on the length of data

    Hi Guys,

    Im trying to "Format as table" my cells (A10:H200)
    cell A10:H200 might receive random amount of data, it could have 20rows, and down to 5 rows and so on.
    So I'm looking for a "format as table" that auto adjust depending on the length of the data.

    Thank you in advance. :D

  2. #2
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,844

    Re: VBA if possible- To do auto "format as table" that adjust depends on the length of dat

    If you go under the Insert tab there is a button named Table to the left. Have you tried that? You have to have a few rows of data to start with.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  3. #3
    Registered User
    Join Date
    09-05-2014
    Location
    Philippines
    MS-Off Ver
    2007
    Posts
    13

    Re: VBA if possible- To do auto "format as table" that adjust depends on the length of dat

    Hi Jacc,
    thank you for the quick response.
    Yes, done that but that's not what I need, Im looking for a way where the table would auto adjust depending on the data.
    Additional information: my file has existing VBA code that fetch information from SQL. So that's the reason why I need a table that can expand and collapse depending on the data I get from SQL server.

+ 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. [SOLVED] Adjust a "Copy specific data to MS word" macro with late binding
    By dreddster in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-24-2015, 03:27 AM
  2. Formula Adjust. Need =IF"" data to remain once entered when =IF"" changes.
    By EDDYJAMES in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 01-02-2015, 03:44 PM
  3. Replies: 2
    Last Post: 08-13-2014, 02:16 PM
  4. Replies: 2
    Last Post: 06-06-2013, 12:45 PM
  5. [SOLVED] Is there a way to change the error "div/0" in data table to "--" using cond. formatting?
    By Snowpear in forum Excel Formulas & Functions
    Replies: 7
    Last Post: 12-04-2012, 01:05 PM
  6. Replies: 2
    Last Post: 11-01-2012, 04:35 PM
  7. Convert Pivot Table data to "regular" format
    By bronsonb in forum Excel General
    Replies: 1
    Last Post: 02-24-2011, 12:24 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