-
-
Notifications
You must be signed in to change notification settings - Fork 329
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request: workbook_add_vba_project() #29
Comments
+1 |
Since I've had a few requests about this I've added a note about making donations to prioritize this feature. |
jmcnamara
added a commit
that referenced
this issue
Jun 16, 2019
Initial support for adding macros extracted from existing xlsm files to new xlsm files. Issue #29 add_vba_project()
I've pushed an initial version of this to master. You will have to use the Python vba_extract utility (installed with xlsxwriter) for now. Here is an example: #include "xlsxwriter.h"
int main() {
lxw_workbook *workbook = new_workbook("test_macro01.xlsm");
lxw_worksheet *worksheet = workbook_add_worksheet(workbook, NULL);
workbook_add_vba_project(workbook, "vbaProject01.bin");
worksheet_write_number(worksheet, CELL("A1"), 123 , NULL);
return workbook_close(workbook);
} |
jmcnamara
added a commit
that referenced
this issue
Jun 18, 2019
Added docs and an example file. |
Added in version 0.8.7. See https://libxlsxwriter.github.io/working_with_macros.html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add
workbook_add_vba_project()
function like the Python XlsxWriter Workbook methodadd_vba_project()
.See https://xlsxwriter.readthedocs.org/index.html
Add +1 as a comment to vote for this feature and to get an update when it is implemented.
If you would like to make a donation to accelerate this feature you can do so via PayPal or contact me directly. Currently $0 of $300.
The text was updated successfully, but these errors were encountered: