VBA: Available Tips
On this site are a number of snippets and examples of VBA which can be used to automate various Office products but most commonly Excel. This page contains links to each of the examples which provide explanations and code that you can use within your own solutions.
Here is the list...
- Last Row and/of Column: Find the last used row or column in a sheet.
- Add A Sheet: Add a new sheet to your workbook in a specific location.
- Insert Row/Column: Insert a row or column above a specified or active cell.
- Format A Range: Change the number, date or text format of a range of cells.
- Colour Cells: Alter the fill colour of specific cells.
- Delete Row: Delete a row (or column) without warning.
- Delete A Cell: Delete an individual cell from a range.
- Create A Pivot Table: Examine a range and create a pivot table from it.
- Split some Text: Divide concatenated data into individual components.
- A Formula In Code: Use a formula within the sub.
- Formula in a Cell: Place a basic formula into a worksheet.
- Use R1C1 in Formulas: Use R1C1 to place a fixed formula.
- R1C1 Relative to Cell: Use R1C1 to place a formula which works relative to its location.
- Get User Input: Display an input box for the user to type in.
- Find Directory
- IF: Simple explanation and use of IF.
- Single IF: Reducing an IF check to a single line process.
- More IF's:Adding additional checks to an IF process.
- Select Case: Check for multiple results.
- Get the Last Row Number: Find the last used row in a column either on a specified or the active sheet.
- Get the Last Column Number: As
- Get the Last Column Letter
- Check a File Exists
Return to the TOP
Currently this site is under re-construction and this page amongst many is constantly being updated with information. Please revisit the site over the next few days and weeks as we add more content.