Excel VBA
This category will hold articles regarding developement in Excel VBA. It will serve as a wiki and an Excel VBA Framework for myself.
Some development tasks reoccur for every customer. Since I am a lazy bum it will be nice to have a central source where I can reuse source code from.
This function copies used range of handed worksheet and replaces it with values only.
Source Code
- Hits: 6981
Whenever you have a list of unique key values identifying one file in a directory, but the file name contains other text as well it is possible to use wildcards in order to open the file you want.
Below code snippet will do the trick for you.
Source Code
The function Dir() returns an empty String (""), in case a file could not be identified. Therefore you will need extra handling for this case.
In case more than one file was identified by Dir(), only the first file (whichever the first may be) is returned.
- Hits: 6049
With this collection of articles I want to build a wiki for myself as well as others.
The goal is to build not only a little framework for Excel VBA, but also a collection of general tips and hints on issues I experienced working with Excel and Visual Basic for Excel.
Once completed, I am guessing it never will be, this will serve me well. Like my wife always says, I am "Mr. Forgetful" and a "Lazy Bum".
Yes dear, I love you too.
And it's true, good programmers are lazy!
- Hits: 6127
Page 4 of 10