function

VBA Loop Through all XLS Files in a Folder

VBA Loop Through all xls Files in a folder

VBA Loop Through all xls Files in a Folder using built-in Dir() function. In this tutorial we loop through a folder or directory and list all available .xls files in a folder. Lets learn how to use Dir, Right and Len VBA functions in this tutorial. Table of Contents: Objective Example to find all .xls …

VBA Loop Through all XLS Files in a Folder Read More »

Calculate Difference Between two Dates in Excel VBA

Calculate Difference Between two Dates FI

Calculate Difference Between two Dates in Excel VBA. Most of the time we wanted find differences of two dates. It’s a very common and regular exercise in Excel and VBA when dealing with dates. We can find this using Excel VBA DateDiff function. In order to calculate we need start date and end date. It …

Calculate Difference Between two Dates in Excel VBA Read More »

Get Previous Year using VBA Functions

VBA Get Previous Year

Get Previous Year from Today’s Date and specified date using Excel VBA Functions. Year plays an important major role as part of date. It helps in data analysis to summarize data, to create graphs and dashboards. We also format year using format function in two ways either two year digit(xx) or four year digit(xxxx). Table …

Get Previous Year using VBA Functions Read More »

Get Current Year using VBA Functions

VBA Get current Year

Get Current Year from Today’s Date using Excel VBA Functions. Year plays an important major role as part of date. It helps in data analysis to summarize data, create graphs and dashboards. We also format year using format function in two ways either two year digit(xx) or four year digit(xxxx). Table of Contents: Objective Macro1: …

Get Current Year using VBA Functions Read More »

Get Next Year from Date using VBA Functions

VBA Get Next Year

Get Next Year from Today’s Date using Excel VBA Functions. Year plays an important role as part of date. It helps in data analysis to summarize data, create graphs and dashboards. We also format year using format function. Table of Contents: Objective Macro1: VBA Get Year from specified date Macro2: VBA Get Year from today’s …

Get Next Year from Date using VBA Functions Read More »

Current Thursday Date of This Week using VBA Functions

VBA Current Thursday

Current Thursday Date using Excel VBA Functions Now, DateAdd,Format and WeekDay. We have different methods and ways to find Current Week Thursday date. You can find below two specified macros or procedures to find Current week Thursday date of this week using VBA functions. i.e Date, DateAdd, WeekDay and Format. We are trying to find …

Current Thursday Date of This Week using VBA Functions Read More »

Current Friday Date of This Week using VBA Functions

VBA Current Friday

Current Friday Date using Excel VBA Functions Now, DateAdd,Format and WeekDay. We have different methods and ways to find Current Week Friday date. You can find below two specified macros or procedures to find Current week Friday date of this week using VBA functions. i.e Date, DateAdd, WeekDay and Format. We are trying to find …

Current Friday Date of This Week using VBA Functions Read More »

Current Saturday Date of This Week using VBA Functions

VBA Current Saturday

Current Saturday Date using Excel VBA Functions Now, DateAdd,Format and WeekDay. We have different methods and ways to find Current Week Saturday date. You can find below two specified macros or procedures to find Current week Saturday date of this week using VBA functions. i.e Date, DateAdd, WeekDay and Format. We are trying to find …

Current Saturday Date of This Week using VBA Functions Read More »

Current Wednesday Date of This Week using VBA Functions

VBA Current Wednesday

Current Wednesday Date using Excel VBA Functions Now, DateAdd,Format and WeekDay. We have different methods and ways to find Current Week Wednesday date. You can find below two specified macros or procedures to find Current week Wednesday date of this week using VBA functions. i.e Date, DateAdd, WeekDay and Format. We are trying to find …

Current Wednesday Date of This Week using VBA Functions Read More »

Current Tuesday Date of This Week using VBA Functions

VBA Current Tuesday

Current Tuesday Date using Excel VBA Functions Now, DateAdd,Format and WeekDay. We have different methods and ways to find Current Week Tuesday date. You can find below two specified macros or procedures to find Current week Tuesday date of this week using VBA functions. i.e Date, DateAdd, WeekDay and Format. We are trying to find …

Current Tuesday Date of This Week using VBA Functions Read More »

Current Monday Date of This Week using VBA Functions

VBA Current Monday

Current Monday Date using Excel VBA Functions Now, DateAdd,Format and WeekDay. We have different methods and ways to find Current Week Monday date. You can find below two specified macros or procedures to find Current week Monday date of this week using VBA functions. i.e Date, DateAdd, WeekDay and Format. We are trying to find …

Current Monday Date of This Week using VBA Functions Read More »

Current Sunday Date of This week using VBA Functions

VBA Current Sunday

Current Sunday Date using Excel VBA Functions Now, DateAdd,Format and WeekDay. We have different methods and ways to find Current Week Sunday date. You can find below two specified macros or procedures to find Current week Sunday date of this week using VBA functions. i.e Date, DateAdd, WeekDay and Format. We are trying to find …

Current Sunday Date of This week using VBA Functions Read More »

Next Sunday Date using VBA Functions

VBA Next Sunday

Next or Next Sunday Date using Excel VBA Functions Now, DateAdd,Format and WeekDay. We have different methods and ways to find Next Sunday date. You can find below three specified macros or procedures to find Next Sunday date using VBA functions. i.e Now, DateAdd, WeekDay and Format. We are trying to find upcoming or Next …

Next Sunday Date using VBA Functions Read More »

Next Thursday Date using VBA Functions

VBA Next Thursday

Next Thursday Date using Excel VBA Functions Now, DateAdd,Format and WeekDay. We have different methods and ways to find Next Thursday date. You can find below three specified macros or procedures to find Next Thursday date using VBA functions. i.e Now, DateAdd, WeekDay and Format. We are trying to find Next Thursday date based on …

Next Thursday Date using VBA Functions Read More »

Next Friday Date using VBA Functions

VBA Next Friday

Next Friday Date using Excel VBA Functions Now, DateAdd,Format and WeekDay. We have different methods and ways to find Next Friday date. You can find below three specified macros or procedures to find Next Friday date using VBA functions. i.e Now, DateAdd, WeekDay and Format. We are trying to find Next Friday date based on …

Next Friday Date using VBA Functions Read More »

Next Saturday Date using VBA Functions

VBA Next Saturday

Next Saturday Date using Excel VBA Functions Now, DateAdd,Format and WeekDay. We have different methods and ways to find Next Saturday date. You can find below three specified macros or procedures to find Next Saturday date using VBA functions. i.e Now, DateAdd, WeekDay and Format. We are trying to find Next Saturday date based on …

Next Saturday Date using VBA Functions Read More »