You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Common VBA and TypeScript scripts useful for daily Excel automation projects.
2
+
A set of common VBA and TypeScript scripts useful for daily Excel automation projects.
3
+
4
+
## Keywords
5
+
Excel ; VBA ; Typescript ; Macro ; Office Scripts ; Excel for the web ; Excel desktop ; Office Visual Basic for Applications
6
+
7
+
## Repository structure
8
+
There are two types of scripts on this repository :
9
+
10
+
*[VBA scripts](https://learn.microsoft.com/en-us/office/vba/api/overview/) which are only compatible with desktop versions of Excel. These scripts are written in Visual Basic language and stored in ".bas" text files.
11
+
*[Office scripts](https://learn.microsoft.com/en-us/office/dev/scripts/develop/scripting-fundamentals) which are only compatible with web versions of Excel and some desktop versions (require consistent internet connection and that file is located on OneDrive). These scripts are written in TypeScript language and stored in ".osts" text files.
12
+
13
+
## Installation
14
+
* VBA scripts must be imported from the VBA IDE (from Excel desktop : alt + F11)
15
+
* Office scripts on this GitHub repository can be copy-pasted in the Office Scripts IDE. Alternatively, you can deposit them on folder usally located in : your-OneDrive/Documents/Office scripts. Please note that, for development purposes, the Office scripts are stored in this repository in ".ts" format and would require to be restructured to comply to ".osts" format (not only renamed), so the copy-paste method explained above is recommended.
16
+
17
+
## Features
18
+
The scripts available on this repository are listed and explained below.
19
+
20
+
### VBA - gather sheets summary
21
+
*related file : GatherSheetsSummary.bas*
22
+
For each sheet in a workbook, gather a range located always in the same cell on each sheet. This range contains e.g. a summary of data contained in the active sheet. So that the juxtaposition of ranges makes a summary of the whole workbook.
23
+
24
+
### Office - array form to database
25
+
*related file : ArrayForm2Database.ts*
26
+
Build and update a database based on an array form.
27
+
More precisely, users fill the array form, and a script organize the data in a database (Excel table), which enables Pivot Tables or Power Platform usage of this data.
0 commit comments