This page contains links to code samples that are generic to VBA. In other words, they can be used in most or all of the programs that support VBA. For example, code that uses Windows APIs to return information about the operating system, or code to browse hard drive folders.
VBA
Articles under VBA:
- Abbreviations.com API Code Samples
- Add Fax functionality to your VBA programs
- Create new text documents using VBA
- Echo Function
- FCC Census Block API
- FCC Consumer Broadband API
- Get Environment Variable Values
- Grab Registry Settings through VBA using WMI
- Joliprint.com API
- MSXML Object Library Routines
- NYS Legislature API Examples
- RANDOM.ORG API
- Regular Expressions Testing in VBA
- Remove Spaces from Strings in VBA
- SBA.gov Web API Methods – Geodata
- SBA.gov Web API – Financing
- SBA.gov Web Service API Methods – Licenses
- SBA.gov Web Service API Methods – Recommended Sites
- Send SMS messages via XMLHTTP and VBA
- Shell Scripting using VBA and the Windows Script Host Object Model
- Using WMI Services in VBA
- Account information using WMI
- Check file properties using WMI
- Computer System Information using WMI
- Desktop information using WMI in VBA
- Environment information using WMI classes
- Iterate through mapped drives using WMI
- Use WMI to check local time zone
- Use WMI to get drive information from local, network and mapped drives
- Use WMI to view Operating System Details
- User Account Information using WMI
- WMI Accounts and Computer Information
- WMI Logical Disk Information
- WMI Time Zone Information
- Validating IP Addresses in VBA
- Visual Basic Keywords
- Working with the Wordnik API in VBA
- Working with Windows APIs in VBA
- World Bank API