Use msoFileDialogFolderPicker to browse for and select a folder with VBA. msoFileDialogFolderPicker is part of the Application.FileDialog family in Excel.
The VBA StrReverse function reverses the order of a string in Excel. In other words, StrReverse writes your string backward so the string abc becomes cba.
We've combined each of our comprehensive wellsrPRO VBA training reference guides into a single bundle with over 200 tips and macros covering the 125 most important topics in VBA.
Easily extract text between two strings with this VBA Function. This function can extract a substring between two characters, delimiters, words and more.
Use the VBA Replace function to replace a substring of characters in a string with a new string. VBA Replace is similar to the Excel SUBSTITUTE function.
Replace the Nth occurrence of a substring in a string with this VBA UDF. Use it to replace the 2nd, 3rd, 4th or more instance of a string within another string.
We just added a 6th cheat sheet to our training bundle. With our new guide on VBA UserForms, our bundle now has over 200 tips like how to automate data extraction from text files, how to remove duplicates from an array, and how to dynamically populate a listbox.
Make Excel talk with Application.Speech.Speak VBA and discover how to change the voice, speed and volume with the sapi.dll Microsoft Speech Object Library.
This VBA function converts decimal times in Excel to words. 10.5 becomes 10 Minutes 30 Seconds. It can convert base times given in hours, minutes or seconds.
Use the VBA ShellExecute function to open a URL in the default browser. VBA ShellExecute is a better choice than opening each website in internet explorer.
The VBA Beep function lets you play a system beep sound whenever you like. VBA Beep usually comes through your speakers so make sure your volume is up.
Use this VBA macro to count the files in a folder. This macro can return the number of total files in a folder or the number of files of a certain type.
subscribe via RSS