update,
This commit is contained in:
BIN
task1/_03_submit/Example_file_working_2016.xlsm
Normal file
BIN
task1/_03_submit/Example_file_working_2016.xlsm
Normal file
Binary file not shown.
BIN
task1/_03_submit/Example_file_working_2016_test1.xlsm
Normal file
BIN
task1/_03_submit/Example_file_working_2016_test1.xlsm
Normal file
Binary file not shown.
BIN
task1/_03_submit/Example_file_working_2016_test2.xlsm
Normal file
BIN
task1/_03_submit/Example_file_working_2016_test2.xlsm
Normal file
Binary file not shown.
BIN
task1/_03_submit/Example_file_working_2016_test2_deliver.xlsm
Normal file
BIN
task1/_03_submit/Example_file_working_2016_test2_deliver.xlsm
Normal file
Binary file not shown.
BIN
task1/_03_submit/Example_file_working_2016_test3.xlsm
Normal file
BIN
task1/_03_submit/Example_file_working_2016_test3.xlsm
Normal file
Binary file not shown.
BIN
task1/_03_submit/Example_file_working_2016_test3_deliver.xlsm
Normal file
BIN
task1/_03_submit/Example_file_working_2016_test3_deliver.xlsm
Normal file
Binary file not shown.
BIN
task1/_03_submit/Example_file_working_2016_test4.xlsm
Normal file
BIN
task1/_03_submit/Example_file_working_2016_test4.xlsm
Normal file
Binary file not shown.
BIN
task1/_03_submit/Example_file_working_2016_test4_deliver.xlsm
Normal file
BIN
task1/_03_submit/Example_file_working_2016_test4_deliver.xlsm
Normal file
Binary file not shown.
19
task1/_03_submit/Module1.bas
Normal file
19
task1/_03_submit/Module1.bas
Normal file
@@ -0,0 +1,19 @@
|
||||
Attribute VB_Name = "Module1"
|
||||
Sub Macro6()
|
||||
Attribute Macro6.VB_ProcData.VB_Invoke_Func = " \n14"
|
||||
'
|
||||
' Macro6 Macro
|
||||
'
|
||||
|
||||
'
|
||||
Sheets("Sheet1").Select
|
||||
Columns("B:P").Select
|
||||
Range("P1").Activate
|
||||
Selection.Copy
|
||||
Sheets("Adjustment").Select
|
||||
Columns("B:P").Select
|
||||
Range("P1").Activate
|
||||
Sheets("Adjustment").Paste
|
||||
|
||||
|
||||
End Sub
|
69
task1/_03_submit/README.md 2
Normal file
69
task1/_03_submit/README.md 2
Normal file
@@ -0,0 +1,69 @@
|
||||
|
||||
其實我做緊嘅係adjustment
|
||||
|
||||
係每個ISIN要有3樣野要做
|
||||
|
||||
### Situation 1:
|
||||
|
||||
如果 Grand total > 0 (row 8 ?)
|
||||
|
||||
- PCEC(Column I): 302210, PCCO: A1311000, Account column: 1020, debit column: Grand Total
|
||||
|
||||
|
||||
- 加多行row:
|
||||
- PCEC: 921810,
|
||||
- PCCO: 92100100
|
||||
- account:8600,
|
||||
- debit: grand total
|
||||
|
||||
- 再加多行row:
|
||||
- PCEC: 922910,
|
||||
- PCCO: 98900100
|
||||
- account:8601,
|
||||
- Credit: grand total
|
||||
### Situation 2:
|
||||
|
||||
如果Grand total < 0 (row 8 ?)
|
||||
|
||||
- PCEC(Column I): 302210, PCCO: A1311000, Account column: 1020, credit column: Grand Total
|
||||
|
||||
- 加多行row: PCEC: 922810, PCCO: 92200100, account:8700, credit: grand total
|
||||
|
||||
- 再加多行row: PCEC: 921910, PCCO: 98900200, account:8701, debit: grand total
|
||||
|
||||
### Situation 3:
|
||||
|
||||
如果Grand total = 0
|
||||
|
||||
- 咩都唔洗做
|
||||
|
||||
### Special case (如果PCCO Code係P1375000):
|
||||
|
||||
### Situation 1:
|
||||
|
||||
如果Grand total > 0 (missing example)
|
||||
|
||||
- PCEC(Column I): 302410, PCCO: P1375000, Account column: 2020, debit column: Grand Total
|
||||
|
||||
- 加多行row: PCEC: 921810, PCCO: 92100100, account:8600, debit: grand total
|
||||
|
||||
- 再加多行row: PCEC: 922910, PCCO: 98900100, account:8601, credit: grand total
|
||||
|
||||
|
||||
### Situation 2:
|
||||
|
||||
如果Grand total < 0 (row 21)
|
||||
|
||||
- PCEC(Column I): 302410, PCCO: P1375000, Account column: 2020, credit column: Grand Total
|
||||
|
||||
- 加多行row: PCEC: 922810, PCCO: 92200100, account:8700, credit: grand total
|
||||
|
||||
- 再加多行row: PCEC: 921910, PCCO: 98900200, account:8701, debit: grand total
|
||||
|
||||
### Situation 3:
|
||||
|
||||
如果Grand total = 0
|
||||
|
||||
- 咩都唔洗做
|
||||
|
||||
|
1150
task1/_03_submit/ThisWorkbook.cls
Normal file
1150
task1/_03_submit/ThisWorkbook.cls
Normal file
File diff suppressed because it is too large
Load Diff
1
task1/_03_submit/dev.bat
Normal file
1
task1/_03_submit/dev.bat
Normal file
@@ -0,0 +1 @@
|
||||
xlwings vba edit
|
13
task1/_03_submit/package.json
Normal file
13
task1/_03_submit/package.json
Normal file
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"name": "adjustment",
|
||||
"version": "1.0.0",
|
||||
"description": "adjustment",
|
||||
"main": "index.js",
|
||||
"scripts": {
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"gitUpdate":"git add . && git commit -m \"update, \""
|
||||
},
|
||||
"keywords": [],
|
||||
"author": "",
|
||||
"license": "ISC"
|
||||
}
|
Reference in New Issue
Block a user