├── clsArrayListObject ├── LICENSE ├── README.md ├── clsArrayListObject.cls ├── clsExample.cls └── testArrayListObject.bas ├── clsArrayListString ├── LICENSE ├── README.md ├── clsArrayListString.cls └── testArrayListString.bas ├── clsArrayListUDT ├── LICENSE ├── README.md ├── clsArrayListUDT.cls └── testArrayListUDT.bas ├── clsArrayListVariant ├── LICENSE ├── README.md ├── clsArrayListVariant.cls └── testArrayListVariant.bas ├── clsStringBuilder ├── LICENSE ├── README.md ├── clsStringBuilder.cls └── testStringBuilder.bas ├── modArray ├── LICENSE ├── README.md └── modArray.bas ├── modCSV ├── LICENSE ├── README.md └── modCSV.bas ├── modCollection └── modCollection.bas ├── modDatetime └── modDatetime.bas ├── modFileSystem └── modFileSystem.bas ├── modString ├── LICENSE ├── README.md └── modString.bas └── modWorksheet ├── LICENSE ├── README.md └── modWorksheet.bas /clsArrayListObject/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Peter D Roach 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /clsArrayListObject/README.md: -------------------------------------------------------------------------------- 1 | # clsArrayListObject 2 | This VBA class module is an implementation of an ArrayList data structure for use with Objects. 3 | -------------------------------------------------------------------------------- /clsArrayListObject/clsArrayListObject.cls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/clsArrayListObject/clsArrayListObject.cls -------------------------------------------------------------------------------- /clsArrayListObject/clsExample.cls: -------------------------------------------------------------------------------- 1 | VERSION 1.0 CLASS 2 | BEGIN 3 | MultiUse = -1 'True 4 | END 5 | Attribute VB_Name = "clsExample" 6 | Attribute VB_GlobalNameSpace = False 7 | Attribute VB_Creatable = False 8 | Attribute VB_PredeclaredId = False 9 | Attribute VB_Exposed = False 10 | Option Explicit 11 | 12 | Private pMessage As String 13 | 14 | Public Property Get Message() As String 15 | Message = pMessage 16 | End Property 17 | 18 | Public Property Let Message(RHS As String) 19 | pMessage = RHS 20 | End Property 21 | 22 | Public Function GetMessage() As String 23 | GetMessage = pMessage 24 | End Function 25 | 26 | Public Function GetValue() As Long 27 | GetValue = 1 28 | End Function 29 | 30 | Public Sub MethodSub() 31 | 'Debug.Print "MethodSub" 32 | End Sub 33 | 34 | Public Function MethodFunction() 35 | 'Debug.Print "MethodFunction" 36 | End Function 37 | 38 | Public Sub MethodArg(Arg) 39 | 'Debug.Print "MethodArg" 40 | End Sub 41 | -------------------------------------------------------------------------------- /clsArrayListObject/testArrayListObject.bas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/clsArrayListObject/testArrayListObject.bas -------------------------------------------------------------------------------- /clsArrayListString/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Peter Roach 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /clsArrayListString/README.md: -------------------------------------------------------------------------------- 1 | # clsArrayListString 2 | This VBA class module is an implementation of an ArrayList data structure for use specifically with strings. 3 | -------------------------------------------------------------------------------- /clsArrayListString/clsArrayListString.cls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/clsArrayListString/clsArrayListString.cls -------------------------------------------------------------------------------- /clsArrayListString/testArrayListString.bas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/clsArrayListString/testArrayListString.bas -------------------------------------------------------------------------------- /clsArrayListUDT/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 PeterRoach 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /clsArrayListUDT/README.md: -------------------------------------------------------------------------------- 1 | # clsArrayListUDT 2 | This VBA class module is an implementation of an ArrayList data structure for use with user-defined types. 3 | -------------------------------------------------------------------------------- /clsArrayListUDT/clsArrayListUDT.cls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/clsArrayListUDT/clsArrayListUDT.cls -------------------------------------------------------------------------------- /clsArrayListUDT/testArrayListUDT.bas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/clsArrayListUDT/testArrayListUDT.bas -------------------------------------------------------------------------------- /clsArrayListVariant/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Peter D. Roach 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /clsArrayListVariant/README.md: -------------------------------------------------------------------------------- 1 | # clsArrayListVariant 2 | This VBA class module is an implementation of an ArrayList data structure for use with value-type Variants. 3 | -------------------------------------------------------------------------------- /clsArrayListVariant/clsArrayListVariant.cls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/clsArrayListVariant/clsArrayListVariant.cls -------------------------------------------------------------------------------- /clsArrayListVariant/testArrayListVariant.bas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/clsArrayListVariant/testArrayListVariant.bas -------------------------------------------------------------------------------- /clsStringBuilder/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Peter D Roach 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /clsStringBuilder/README.md: -------------------------------------------------------------------------------- 1 | # clsStringBuilder 2 | VBA class module which implements a StringBuilder class. 3 | -------------------------------------------------------------------------------- /clsStringBuilder/clsStringBuilder.cls: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/clsStringBuilder/clsStringBuilder.cls -------------------------------------------------------------------------------- /clsStringBuilder/testStringBuilder.bas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/clsStringBuilder/testStringBuilder.bas -------------------------------------------------------------------------------- /modArray/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Peter D Roach 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /modArray/README.md: -------------------------------------------------------------------------------- 1 | # modArray 2 | VBA standard module containing high-level array functions. 3 | -------------------------------------------------------------------------------- /modArray/modArray.bas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/modArray/modArray.bas -------------------------------------------------------------------------------- /modCSV/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2021 Peter D Roach 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /modCSV/README.md: -------------------------------------------------------------------------------- 1 | # modCSV 2 | VBA standard module with functions to facilitate working with CSV text and files. 3 | -------------------------------------------------------------------------------- /modCSV/modCSV.bas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/modCSV/modCSV.bas -------------------------------------------------------------------------------- /modCollection/modCollection.bas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/modCollection/modCollection.bas -------------------------------------------------------------------------------- /modDatetime/modDatetime.bas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/modDatetime/modDatetime.bas -------------------------------------------------------------------------------- /modFileSystem/modFileSystem.bas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/modFileSystem/modFileSystem.bas -------------------------------------------------------------------------------- /modString/LICENSE: -------------------------------------------------------------------------------- 1 | MIT License 2 | 3 | Copyright (c) 2022 Peter D Roach 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in all 13 | copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 21 | SOFTWARE. 22 | -------------------------------------------------------------------------------- /modString/README.md: -------------------------------------------------------------------------------- 1 | VBA standard module with functions to facilitate working with strings. 2 | -------------------------------------------------------------------------------- /modString/modString.bas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/modString/modString.bas -------------------------------------------------------------------------------- /modWorksheet/LICENSE: -------------------------------------------------------------------------------- 1 | Copyright © 2022 Peter D Roach. All Rights Reserved. 2 | 3 | Permission is hereby granted, free of charge, to any person 4 | obtaining a copy of this software and associated documentation 5 | files (the "Software"), to deal in the Software without restriction, 6 | including without limitation the rights to use, copy, modify, merge, 7 | publish, distribute, sublicense, and/or sell copies of the Software, 8 | and to permit persons to whom the Software is furnished to do so, 9 | subject to the following conditions: 10 | 11 | The above copyright notice and this permission notice shall be 12 | included in all copies or substantial portions of the Software. 13 | 14 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, 15 | EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES 16 | OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND 17 | NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT 18 | HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, 19 | WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21 | DEALINGS IN THE SOFTWARE. -------------------------------------------------------------------------------- /modWorksheet/README.md: -------------------------------------------------------------------------------- 1 | This VBA standard module contains common Excel Worksheet functions. -------------------------------------------------------------------------------- /modWorksheet/modWorksheet.bas: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/PeterRoach/VBA/153220f265ce38421bf4a80292fc9e7e515382fe/modWorksheet/modWorksheet.bas --------------------------------------------------------------------------------