Results 1 to 5 of 5

macro to automatically insert table in excel

Threaded View

swade730 macro to automatically insert... 08-13-2013, 07:14 PM
codeslizer Re: macro to automatically... 08-14-2013, 05:36 AM
swade730 Re: macro to automatically... 08-14-2013, 07:13 PM
swade730 Re: macro to automatically... 08-14-2013, 08:06 PM
codeslizer Re: macro to automatically... 08-16-2013, 03:37 AM
  1. #1
    Forum Contributor
    Join Date
    03-14-2013
    Location
    United States
    MS-Off Ver
    Excel 2010
    Posts
    491

    macro to automatically insert table in excel

    Hello,

    I am trying to write a MACRO that I can use at work.

    My goal is to have a Macro that would automatically insert a table with headers around the data after it's export into Excel.

    The data I export always populates into Excel in the same cells but from different accounts can have much more rows than others -So How do make the code accommodate for that?



    So I experimented with some Data and I recorded the Macro of me inserting the table with headers...

    The main thing I would Love to know is to how to adjust the Macro to accommodate for different rows of info that might appear.

    Also

    Once the Macro is in Excel if I export new Data do I just save it to a workbook in order to enable myself to run it for anything new that I would be exporting in or How do I run it once the macro is in excel (Do I find the module and run it?)?

    Attached is my excel spreadsheet with the Macro.


    Please if there is any confusion, Let me know.

    Thank you In advance.
    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. Macro to insert new row in Excel 2010 table (ListObject) in protected worksheet
    By kinsley in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-10-2012, 02:57 PM
  2. Automatically insert rows and columns as pivot table changes
    By Jayrome in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-07-2012, 03:41 AM
  3. Insert Text in a table cell in MS word from excel macro
    By jrp_167 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-29-2011, 01:02 PM
  4. Macro to insert photo automatically in EXCEL 2007
    By Niconatu in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-14-2010, 06:17 AM
  5. Replies: 1
    Last Post: 02-08-2005, 06: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