{"id":14070974,"url":"https://github.com/carvetighter/VBA-Code-Library","last_synced_at":"2025-07-30T09:32:02.160Z","repository":{"id":46536430,"uuid":"97268233","full_name":"carvetighter/VBA-Code-Library","owner":"carvetighter","description":"A series of Visual Basic Applications (VBA) methods I wrote, mostly for Excel, to increase the speed and accuracy in working with data, charts and databases.","archived":false,"fork":false,"pushed_at":"2021-10-26T15:58:13.000Z","size":1839,"stargazers_count":164,"open_issues_count":2,"forks_count":39,"subscribers_count":14,"default_branch":"master","last_synced_at":"2024-08-13T07:18:26.814Z","etag":null,"topics":["vba","vba-excel","vba-library","vba-macros","vba-modules"],"latest_commit_sha":null,"homepage":"","language":"Visual Basic","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/carvetighter.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-07-14T19:53:52.000Z","updated_at":"2024-07-25T14:46:11.000Z","dependencies_parsed_at":"2022-08-25T18:40:20.246Z","dependency_job_id":null,"html_url":"https://github.com/carvetighter/VBA-Code-Library","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carvetighter%2FVBA-Code-Library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carvetighter%2FVBA-Code-Library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carvetighter%2FVBA-Code-Library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/carvetighter%2FVBA-Code-Library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/carvetighter","download_url":"https://codeload.github.com/carvetighter/VBA-Code-Library/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":228119177,"owners_count":17872443,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["vba","vba-excel","vba-library","vba-macros","vba-modules"],"created_at":"2024-08-13T07:08:12.977Z","updated_at":"2024-12-04T13:30:26.250Z","avatar_url":"https://github.com/carvetighter.png","language":"Visual Basic","funding_links":[],"categories":["Visual Basic"],"sub_categories":[],"readme":"# VBA-Code-Library\n\nThe VBA library is a set of methods that I have used over the years to help me work accurately and efficiently.  I inldued the modules so others can use and modify for their own use.\n\nThe Excel file has all the modules and all the references included to be able to use once downloaded.\n\nMod_Autofilter.bas methods:\n  - AutoFilter_Clear -\u003e clears the autofilter\n  - Autofilter_OnOff -\u003e turns the autogilter on or off\n  - Autofilter_SimpleSort -\u003e simple sort\n\nMod_Cells.bas methods:\n  - Cells_Format -\u003e formats all the cells in a worksheet\n  - Cells_IsString -\u003e determines if a cell values is a string\n  - Cells_ReturnNumberOrLetters -\u003e used in Row_GetLast and Column_GetLast for the return value but not limited to only those methods\n\nMod_Charts.bas methods:\n  - Chart_New -\u003e creates a graph with a single series based on a specific format\n  - Chart_Line -\u003e creates a line graph based on a simple format\n  - Chart_DeleteAll -\u003e detltes all the graphs in a worksheet\n\nMod_Column.bas methods:\n  - Column_CopyPaste -\u003e copy and paste a column from one worksheet to another\n  - Column_Find -\u003e find a column based on a string passed\n  - Column_FindByDate -\u003e find a column based on a date\n  - Column_FindByTimePeriod -\u003e find a column based on the time period from the last column with a date\n  - Column_GetCriteria -\u003e get all the unique values in a column\n  - Column_GetCriteriaByColumn -\u003e get all the unique values of the columsn from the first column to the last column with data in it\n  - Column_GetLast -\u003e get the last column in a row with data in it\n  - Column_InsertWithHeader -\u003e insert a column with a header to the left of a column\n  - Column_TakeOutBlankCells -\u003e delete all the rows with no values in a column\n\nMod_Date.bas methods:\n  - Date_GetHoursMinutesSeconds -\u003e finds the hours, minutes and seconds\n\nMod_Files.bas methods:\n  - Files_ArchiveSource -\u003e archives all the files in the source folder to an archive folder\n  - Files_Count -\u003e count the number of files in a folder\n  - Files_FindXlsx -\u003e find *.xlsx files for the OSx version of Microsoft Office\n  - Files_GetNames -\u003e get the names of all files in a folder\n  - Files_GetPath -\u003e get the file path that user selects from a dialog window\n\nMod_Main.bas methods:\n  - Main -\u003e template for a main method\n\nMod_Outlook.bas methods:\n  - Application_ItemSend -\u003e BCC every email sent to a specified email\n  - Outlook_SendEmail -\u003e example of sending an email from Excel through Outlook\n\nMod_Pivot.bas methods:\n  - Pivot_Get -\u003e finds and returns specifid pivot table\n  - Pivto_SetFieldValues -\u003e set specific values in a pivot field\n\nMod_PowerPoint methods:\n  - PowerPoint_AppendsixSlide -\u003e an example on how to create a PowerPoint slide from a PowerPoint presentation and add data / objects         from Excel\n  - PowerPoint_CutPasteChartsFromExcel -\u003e an example of how to cut and paste charts from Excel to PowerPoint\n  - PowerPoint_IDShape -\u003e identifies the type of PowerPoint shape\n  - PowerPoint_ModifyTitle -\u003e an example of how to modify a slide title in PowerPoint\n  - PowerPoint_TestGroupItems -\u003e determines if a shape is grouped or not\n\nMod_Queries.bas methods:\n  - Query_Refresh -\u003e a simple method that refreshes the SQL queries of all the workshees in the workbooks collection\n  - Query_Website -\u003e copies all the information from a website to an Excel worksheet\n\nMod_Row.bas methods:\n  - Row_Copy -\u003e copies row from one worksheet to another\n  - Row_CountVisible -\u003e counts the visible cells in a row\n  - Row_Find -\u003e finds a row based on a specific criteria\n  - Row_FindAndDelete -\u003e finds a row and deletes it\n  - Row_FindByFirstWord -\u003e finds a row by the first work in the cell\n  - Row_FindTransition -\u003e finds the row of a column where it transitoins from data in a series of cells to no data in a cell or no data                             in a series of cells to data in a cell\n  - Row_GetCriteria -\u003e gets all the unique values of a row\n  - Row_GetCriteriaByRow -\u003e gets all the unique values of the rows from the first row to the last row ith data in it\n  - Row_GetLast -\u003e finds the last row with data in a specified column\n  - Row_Insert -\u003e insert a specifiec number of rows above a specific row\n  - Row_Unhide -\u003e unhides all rows between two specified rows\n\nMod_Search.bas methods:\n  - Search_Log -\u003e conducts a simple log search (not optimized) of column\n\nMod_String.bas methods:\n  - String_FindAllPositOfChar -\u003e finds all the positions of a single charcter in a string\n\nMod_Workbook.bas methods:\n  - Workbook_Clear -\u003e formats every worksheet in a workbook\n  - Workbook_Find -\u003e finds a specific workbook in the Excel application by name\n  - Workbook_FindOrCreate -\u003e finds a specific workbook and if not creates a new one\n\nMod_Worksheet.bas methods:\n  - Worksheet_Clear -\u003e formats a worksheet to a specified format\n  - Worksheet_FindOrCreate -\u003e finds a worksheet by the name or if not creates a new one\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarvetighter%2FVBA-Code-Library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcarvetighter%2FVBA-Code-Library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcarvetighter%2FVBA-Code-Library/lists"}