https://github.com/SmileyFtW/CreateCodeWithCode
Creates Model, View, Presenter for selected tables in an Excel file
https://github.com/SmileyFtW/CreateCodeWithCode
Last synced: 5 months ago
JSON representation
Creates Model, View, Presenter for selected tables in an Excel file
- Host: GitHub
- URL: https://github.com/SmileyFtW/CreateCodeWithCode
- Owner: SmileyFtW
- Created: 2019-08-27T14:19:48.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2019-09-02T16:27:09.000Z (over 5 years ago)
- Last Synced: 2024-08-09T02:19:32.331Z (8 months ago)
- Size: 578 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - SmileyFtW/CreateCodeWithCode - Creates Model, View, Presenter for selected tables in an Excel file (Others)
README
# CreateCodeWithCode
Creates Model, View, Presenter for selected tables in an Excel file.
Excel files that have tables and have not previously been editied by the code creator
have models, a presenter, and a dialog created as well as a documentation module.The plan is to migrate into an Add-In and make more robust.
There are two files in the zip file.
1) The code creator: CreateCodeWithCode.xlsm
2) The sample "proper" file to be processed
A "proper" file is one that has at least one worksheet having at least one table.
The code creator has a ribbon interface with a "Go!" button to kick off the application
The user form presented will show a list of all "proper" workbooks currently open (a Browse capability is planned)
Once a workbook is selected all worksheets in that workbook that have at least one table are presented
Selecting a worksheet allows any or all tables in the workbook to be selected. Only selected tables are processed.The result are Models, a Presenter, a Dialog (UserForm), and supporting code modules. A "documentation" module is also created that summarizes what was created. The presence of the documentation module in an otherwise proper file disqualifies that file from being processed again.
A SaveAsCopy is done using "(BKUP)" in the filename to preserve the original workbook.