+ Reply to Thread
Results 1 to 5 of 5

Need to create a UserForm with Dynamic Check-Boxes based on the Files in a specific folder

  1. #1
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Need to create a UserForm with Dynamic Check-Boxes based on the Files in a specific folder

    Need to create a UserForm with Dynamic Check-Boxes based on the Files in a specific folder

    Dear Forum,

    I need to access a particular folder and select the most recent file / Alphabetically Sorted excluding the Parent File in which the macro exists
    For Ex - I have a Folder Named - PAN INDIA in which there are 36 Files from several Branches in PAN INDIA so I want the Macro to create a Userform with all the Files in this folder listed with a Lable and CheckBox to do further analysis on them as the Template file would also in this folder need to exclude the same from the UserForm, this list can be sorted in either ways Alphabetically or the most recent downloaded file in this folder.

    As this requirement is not giving any data Output have not uploaded any attachment

    Regards
    e4excel

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,913

    Re: Need to create a UserForm with Dynamic Check-Boxes based on the Files in a specific fo

    Why not just use a listbox instead?
    Rory

  3. #3
    Forum Guru Kaper's Avatar
    Join Date
    12-14-2013
    Location
    Warsaw, Poland
    MS-Off Ver
    most often: Office 365 in Windows environment
    Posts
    8,623

    Re: Need to create a UserForm with Dynamic Check-Boxes based on the Files in a specific fo

    I'd suggest use a multi-selct list box with the ListStyle set to fmListStyleOption as it will be probably much more convenient to user than dynamically created "list" of 36 or so checkboxes and filenames.
    Best Regards,

    Kaper

  4. #4
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Need to create a UserForm with Dynamic Check-Boxes based on the Files in a specific fo

    hI gURUS,

    I am not conversant with using these Tools and that too dynamically, as depending on the no of files in the folder these Checkboxes need to be created

  5. #5
    Registered User
    Join Date
    11-03-2008
    Location
    India
    MS-Off Ver
    Excel 2010
    Posts
    2,521

    Re: Need to create a UserForm with Dynamic Check-Boxes based on the Files in a specific fo

    Bump a thread

+ 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] Userform with Cascading Combo Boxes Based on Dynamic Named Ranges...
    By halee66778 in forum Excel Programming / VBA / Macros
    Replies: 12
    Last Post: 12-21-2019, 03:26 PM
  2. [SOLVED] Dynamic Index/Match formula based on drop down and check boxes
    By Phil123456789 in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 08-01-2019, 11:05 AM
  3. [SOLVED] How to create a dynamic graph with check boxes to choose a specific year?
    By gauger111 in forum Excel Charting & Pivots
    Replies: 8
    Last Post: 08-22-2018, 02:06 AM
  4. Create Folder & Check if Folder Exists if Not Create Folder & then Save File
    By Quivolt in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 07-28-2017, 05:31 AM
  5. Create folder and move files to that folder based on file name
    By biznez in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-26-2016, 06:58 PM
  6. How to add cell values based on userform check boxes.
    By Zimmerman in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-11-2015, 09:16 AM
  7. [SOLVED] create a dynamic table based on selected check boxes
    By melody10 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-13-2015, 07:28 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