Excelguru.ca - Powered by vBulletin
  • Register
  • Help

  • Home
  • Products & Services
    • Training
    • Monkey Tools Add-in
    • Monkey Tools Account
    • Books & Other Products
    • Private Courses
    • About Us
    • Today's Posts
    • FAQ
    • Calendar
    • Community
      • Member List
    • Forum Actions
      • Mark Forums Read
    • Quick Links
      • View Site Leaders
  • Blog
  • Forum
    • Excelguru Forums
    • What's New?
    • Today's Posts
    • Forum Guide
    • Forum FAQ
    • Supported BB Code Tags
  • Knowledge Base
  • Contact Us
  • Advanced Search
  • Home
  • Home
  • Knowledge Base Articles

  1. If this is your first visit, then welcome! Be sure to check out the FAQ by clicking the link above.
    Register here so that you can post in the forums or comment on the articles.

  • Monkey Tools
  • Knowledge Base Articles By Category

    Access - ADO (4)
    Access - SQL (4)
    Access - VBA Programming (10)
    Downloads - Games (1)
    Downloads - Learning Aids (11)
    Downloads - Utilities (9)
    Excel - ADO (4)
    Excel - Charts and Data Visualization (1)
    Excel - Formulas (8)
    Excel - General Tips (36)
    Excel - Interactive Pages (9)
    Excel - PivotTables (12)
    Excel - Power Query (3)
    Excel - PowerPivot (7)
    Excel - SQL (4)
    Excel - UDF (7)
    Excel - User Interface Customization (2)
    Excel - VBA Programming (49)
    Excel - WebApp (4)
    Internet Explorer - VBA Programming (1)
    Novell Groupwise - VBA Programming (2)
    Other - General (1)
    Outlook - General Tips (5)
    Outlook - VBA Programming (7)
    PDF Creator - VBA Programming (11)
    Power BI (3)
    PowerPoint - VBA Programming (7)
    Publisher - VBA Programming (7)
    Syndicated Articles (7)
    Word - VBA Programming (8)
  • Excel - UDF

    Count Files (with a specific extension or not) in a folder and subfolders 

    by
    Ken Puls
    • View Profile
    • View Forum Posts
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 2009-10-14 08:15 AM     Number of Views: 41067 

    Introduction:
    This macro can be used to count how many files exist in a folder and subfolders. In addition, if passed the file extension, it can also be used to count only files of a specific type. (For example "xls" files.) If you are looking for a macro that counts files within a specific folder only (ignoring subfolders), please see this entry.
    ...
    Read More Read More 2 Comments

    Count Files (with a specific extension or not) in a Folder 

    by
    Ken Puls
    • View Profile
    • View Forum Posts
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 2008-03-02 09:21 AM     Number of Views: 76057 

    Introduction:
    This macro can be used to count how many files exist in a folder and, if passed the file extension, can also be used to count only files of a specific type. (For example "xls" files.) I've actually published two articles along this vein at VBA Expresss, but this one uses the File System Object (some know it as the File Scripting Object, or just FSO,) to do it. The biggest reason for the re-write is that I needed to use this in an Excel 2007 instance, which does not support the FileSearch method.
    If you are looking for a version to count the files in a folder AND subfolders, then look here.
    ...
    Read More Read More 2 Comments

    Function To Check If File Or Directory (Folder) Exists 

    by
    Ken Puls
    • View Profile
    • View Forum Posts
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 2006-09-24 10:10 PM     Number of Views: 324506 

    Introduction:
    When creating routines, it is commonly helpful to check if a file or directory (folder) exists before attempting to perform some action. Searching the internet will yield several examples of doing either, but this is a routine that I wrote in order to have one routine to test either. ...
    Read More Read More 8 Comments

    Deploying Add-ins in a Network Environment 

    by
    Ken Puls
    • View Profile
    • View Forum Posts
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 2006-07-11 09:27 PM     Number of Views: 83462 

    Introduction
    The purpose of this article is to provide corporate developers with a method to release, maintain and update an add-in in a network environment. This is based upon my strategies for doing this same. ...
    Read More Read More 22 Comments

    User Defined Function To Show Formulas In A Cell 

    by
    Ken Puls
    • View Profile
    • View Forum Posts
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 2006-01-11 10:28 AM     Number of Views: 22439 

    Macro Purpose:
    • Function to show the formula in another cell as text.
    ...
    Read More Read More

    User Defined Function To Sum And Round To Two Decimal Places 

    by
    Ken Puls
    • View Profile
    • View Forum Posts
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 2006-01-10 10:20 AM     Number of Views: 38679 

    Macro Purpose:
    • To round a Sum formula to two decimal places
    ...
    Read More Read More 5 Comments

    Function to Return Various Environment Names 

    by
    Ken Puls
    • View Profile
    • View Forum Posts
    • View Blog Entries
    • Visit Homepage
    • View Articles
    Published on 2005-01-04 09:32 AM     Number of Views: 21341 

    Function Purpose:
    This function can be used to retrieve one of three types of usernames, and can be used in a worksheet cell or in VBA.

    The usernames that it can return are:
    • Microsoft Office username (default) as defined in Tools|Options|General
    • Microsoft Windows logon name
    • Computer name (as defined in your system properties)

    ...
    Read More Read More 1 Comment
  • MVP Logo
  • Recent Forum Posts

    p45cal

    Change the Font Size on the displayed LOV

    In which case, best attach a file where this is happening (only showing a few cells behaving this way, maybe the macro trying to adjust the font, but...

    p45cal Yesterday, 06:44 PM Go to last post
    amyfb

    Change the Font Size on the displayed LOV

    oh, you had me all excited there for a minute, but, when I looked, the shrink to fit box is unchecked. I took off word wrap as well, just in case that...

    amyfb Yesterday, 06:35 PM Go to last post
    p45cal

    Change the Font Size on the displayed LOV

    Are you sure you don't have Shrink to fit on?:
    ...

    p45cal Yesterday, 03:03 PM Go to last post
    p45cal

    sumproduct formula or replacement

    Just out of interest, a shorter version of the formula in msg#1 for more recent versions of Excel:

    Code:
    =SUM((INDEX(I2:FD273,SEQUENCE(272),SEQUENCE(,51,1,3))="")*(INDEX(I2:FD273,SEQUENCE(272),SEQUENCE(,51,2,3))=FX13)*(C2:C273=FZ11))
    ...

    p45cal Yesterday, 02:51 PM Go to last post
    p45cal

    find the winner name from highest numbers

    In cell N3:

    Code:
    =IF(L3=MAX($L$3:$L$13),J3,"")
    O3:
    Code:
    =IF(L3=MAX($L$3:$L$13),K3,"")
    P3:
    Code:
    =IF(L3=LARGE($L$3:$L$13,2),J3,"")
    ...

    p45cal Yesterday, 02:46 PM Go to last post
  • Contact Us
  • Excelguru Forums
  • Archive
  • Top
All times are GMT +1. The time now is 03:13 PM.
Powered by vBulletin® Version 4.2.5
Copyright © 2022 vBulletin Solutions Inc. All rights reserved.
Pre-Defined Posts provided by Post Templates v1.6.1pl1 (Free) - vBulletin Mods & Addons Copyright © 2022 DragonByte Technologies Ltd.
Thread / Post Bookmarks provided by Thread / Post Bookmarking v1.2.0 (Free) - vBulletin Mods & Addons Copyright © 2022 DragonByte Technologies Ltd.
Copyright © 2004 - by Excelguru Consulting Inc.
Gravatar by 1e2.it