https://github.com/amaduck/Useful-Excel-Formatting-Macros
Some VBA macros I find useful for Excel
https://github.com/amaduck/Useful-Excel-Formatting-Macros
Last synced: 6 months ago
JSON representation
Some VBA macros I find useful for Excel
- Host: GitHub
- URL: https://github.com/amaduck/Useful-Excel-Formatting-Macros
- Owner: amaduck
- Created: 2022-03-21T13:09:00.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-09-08T14:20:51.000Z (over 2 years ago)
- Last Synced: 2024-08-13T07:18:16.319Z (10 months ago)
- Language: VBA
- Size: 17.6 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - amaduck/Useful-Excel-Formatting-Macros - Some VBA macros I find useful for Excel (VBA)
README
# Useful-Excel-Macros
Some formatting macros that I get regular use out of, rather than rewriting when needed
Subs
1) NextRow()
Selects the next row after the active row of the current sheet
2) HighlightAlternateRows()
For ease of display, will highlight every second row in the sheet, as far as the last used column
3) DeleteBlankRows()
Will check that a row is empty up to a certain number of columns, and delete if emptyFunctions
1) CountCharsinString(FindThis As String, StringToBeTested As String) As Integer
Returns the occurences of a particular character (or string of characters) in a particular string. Pass the string to find, and the string to be tested
2) AddSheetsAtEnd(NewSheetName)
Will add a new sheet with the passed sheet name