📄 datareport2.dsr
字号:
Object.Left = 915
Object.Height = 390
EndProperty
ItemType3 = 5
BeginProperty Item3 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line23"
Object.Left = 6660
Object.Height = 390
EndProperty
ItemType4 = 5
BeginProperty Item4 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line24"
Object.Left = 5730
Object.Height = 390
EndProperty
ItemType5 = 5
BeginProperty Item5 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line25"
Object.Left = 4785
Object.Height = 390
EndProperty
ItemType6 = 5
BeginProperty Item6 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line26"
Object.Left = 3825
Object.Height = 390
EndProperty
ItemType7 = 5
BeginProperty Item7 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line27"
Object.Left = 2865
Object.Height = 390
EndProperty
ItemType8 = 5
BeginProperty Item8 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line28"
Object.Left = 1860
Object.Height = 390
EndProperty
ItemType9 = 3
BeginProperty Item9 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label9"
Object.Width = 930
Object.Height = 405
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "合计"
Alignment = 2
EndProperty
ItemType10 = 13
BeginProperty Item10 {49FF6930-2B8C-11D1-8DA9-00A0C90FFFC2}
_Version = 393216
Name = "Function1"
Object.Left = 2925
Object.Width = 870
Object.Height = 330
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DataField = "yuexin"
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
ItemType11 = 13
BeginProperty Item11 {49FF6930-2B8C-11D1-8DA9-00A0C90FFFC2}
_Version = 393216
Name = "Function2"
Object.Left = 3885
Object.Width = 795
Object.Height = 285
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DataField = "chidaomon"
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
ItemType12 = 13
BeginProperty Item12 {49FF6930-2B8C-11D1-8DA9-00A0C90FFFC2}
_Version = 393216
Name = "Function3"
Object.Left = 4830
Object.Width = 810
Object.Height = 300
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DataField = "jiabanmon"
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
ItemType13 = 13
BeginProperty Item13 {49FF6930-2B8C-11D1-8DA9-00A0C90FFFC2}
_Version = 393216
Name = "Function4"
Object.Left = 5790
Object.Width = 825
Object.Height = 285
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
DataField = "gongzi"
Alignment = 2
BeginProperty DataFormat {6D835690-900B-11D0-9484-00A0C91110ED}
Type = 0
Format = ""
HaveTrueFalseNull= 0
FirstDayOfWeek = 0
FirstWeekOfYear = 0
LCID = 2052
SubFormatType = 0
EndProperty
EndProperty
ItemType14 = 3
BeginProperty Item14 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label10"
Object.Left = 960
Object.Top = 870
Object.Width = 1680
Object.Height = 315
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "财务主管:"
Alignment = 1
EndProperty
ItemType15 = 3
BeginProperty Item15 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label11"
Object.Left = 960
Object.Top = 1500
Object.Width = 1680
Object.Height = 345
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "复核:"
Alignment = 1
EndProperty
ItemType16 = 3
BeginProperty Item16 {1C13A8E1-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Label12"
Object.Left = 105
Object.Top = 2235
Object.Width = 2565
Object.Height = 315
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "宋体"
Size = 12
Charset = 134
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
Object.Caption = "执行董事/总经理签批:"
EndProperty
ItemType17 = 5
BeginProperty Item17 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line29"
Object.Left = 2760
Object.Top = 1170
Object.Width = 2370
EndProperty
ItemType18 = 5
BeginProperty Item18 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line30"
Object.Left = 2760
Object.Top = 1785
Object.Width = 2370
EndProperty
ItemType19 = 5
BeginProperty Item19 {1C13A8E3-A0B6-11D0-848E-00A0C90DC8A9}
_Version = 393216
Name = "Line31"
Object.Left = 2760
Object.Top = 2550
Object.Width = 2370
EndProperty
EndProperty
End
Attribute VB_Name = "GongZi"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Private Sub DataReport_Initialize()
Dim Controled, Sect
For Each Sect In GongZi.Sections
For Each Controled In Sect.Controls
If Controled.Name = "Label1" Then
Controled.Caption = Year(Date) & "年" & Month(Date) & "月份工资表"
End If
'If Controled.Name = "Label2" Then
' Controled.Caption = CStr(Format(Date, "yyyy年mm月dd日"))
'End If
Next
Next
End Sub
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -