Results 1 to 12 of 12

VBA Macro to Filter with Input box, Split files, Convert into Excel Table and Sort

Threaded View

  1. #1
    Forum Contributor
    Join Date
    02-07-2013
    Location
    Karachi, Pakistan
    MS-Off Ver
    Excel 2007
    Posts
    290

    VBA Macro to Filter with Input box, Split files, Convert into Excel Table and Sort

    Hello,
    Good day everyone. Hope you guys are doing great.

    I am looking for a vba based solution for the subject mentioned tasks. (almost novice in vba)

    I found this code (sheet attached) somewhere on the web, it works find but I need some modification and I hope you guys will help.


    Modifications required:

    1) Instead of this hard coded range, we need an input box to enter column name (eg: "A")

    Set rngFilter = Range("G1", Range("G" & Rows.Count).End(xlUp))
    
    Set rngUniques = Range("G1", Range("G" & Rows.Count).End(xlUp)).SpecialCells(xlCellTypeVisible)
    2) Before saving we need in each file, Convert the data into Excel Table and add a Total row and sum formula in column E (Table total row).


    3) Sort Column E (Largest to smallest)

    Any or all help is appreciated.

    Regards,
    Attached Files Attached Files
    Khalid

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. VBA/macro to split an excel file into multiple files with 500 lines each
    By karambos3 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-11-2023, 12:43 PM
  2. Need to convert .ods files into .xlsx using excel macro
    By ranjita_bls in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 08-24-2015, 06:15 AM
  3. Convert multiple word files to one excel table
    By Barefaced in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 07-17-2014, 04:52 AM
  4. Excel Macro to convert list of files to pdf
    By nandu05 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 02-05-2013, 12:52 AM
  5. How to convert XML files into an EXCEL table (rows)?
    By pstein in forum Excel General
    Replies: 0
    Last Post: 01-10-2013, 03:48 AM
  6. Excel 2010 Macro -how to split worksheet into multiple files
    By kbustin in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 06-01-2012, 10:39 AM
  7. User Input to Split the Table
    By rakesh1 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-19-2010, 08:11 PM

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