This commit is contained in:
louiscklaw
2025-02-01 01:56:37 +08:00
commit c8a1aa8213
49 changed files with 786 additions and 0 deletions

View File

@@ -0,0 +1,12 @@
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = crlf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false

BIN
_helloworld_vba/Book1.xlsm Normal file

Binary file not shown.

View File

@@ -0,0 +1,19 @@
VERSION 5.00
Begin {C62A69F0-16DC-11CE-9E98-00AA00574A4F} HelloworldForm
Caption = "UserForm1"
ClientHeight = 3015
ClientLeft = 120
ClientTop = 465
ClientWidth = 4560
OleObjectBlob = "HelloworldForm.frx":0000
StartUpPosition = 1 'CenterOwner
End
Attribute VB_Name = "HelloworldForm"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub CommandButton1_Click()
MsgBox "Hello, World aaaaa11111!"
End Sub

Binary file not shown.

View File

@@ -0,0 +1,16 @@
Attribute VB_Name = "Module1"
Sub HelloWorld()
MsgBox "Hello, World 111111!"
End Sub
Sub HelloWorld1()
MsgBox "Hello, World1!"
End Sub
Sub HelloWorld2()
MsgBox "Hello, World1!"
End Sub
Sub HelloWorld3()
MsgBox "Hello, World1!"
End Sub

View File

@@ -0,0 +1,8 @@
Attribute VB_Name = "Module2"
Sub HelloWorld22()
MsgBox "Hello, World!"
End Sub
Sub HelloWorld21()
MsgBox "Hello, World1!"
End Sub

View File

@@ -0,0 +1,12 @@
{
"name": "xlwings-tryout",
"version": "1.0.0",
"description": "",
"main": "index.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"keywords": [],
"author": "",
"license": "ISC"
}

4
_helloworld_vba/up.bat Normal file
View File

@@ -0,0 +1,4 @@
xlwings addin install
xlwings vba edit --file .\Book1.xlsm
@REM xlwings quickstart -s hello_quickstart