VBA - Visual Basic for Applications
Saving an Excel workbook is a rather simple task. However you have to regard many things in IO operations, which can go wrong.
Therefore it is always good to add some extra exception handling for IO operations that are likely to fail.
Hence, although saving a workbook requires only one line of code I use below method for saving workbooks.
Source Code
- Hits: 3807
Sometimes it is necessary to get a folder path from the user instead of receiving a file path.
The Excel Application class is providing a corresponding function, which is used in below method.
Source Code
- Hits: 3689
If you need to know a files name from a file path it might be interesting to also know, if this file is alos existing.
Below you will find a method, which only returns a files name if the file is available in current file system.
Source Code
Referenced API
Referenced APIs can be found below.
- Hits: 3754
Subcategories
Excel VBA Article Count: 30
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.
MS Office and VBA Article Count: 11
This category holds articles regarding general things in MS Office VBA independent from the MS Office application.
Power Point VBA Article Count: 1
Access VBA Article Count: 7
This category holds articles regarding Access VBA, but also general things I come accross Access and its usage in companies.
Access VBA DAO Article Count: 2
Page 14 of 17