version 1.4
This commit is contained in:
parent
043c7264bf
commit
f569e6238d
29
changes.frm
29
changes.frm
@ -74,6 +74,35 @@ Private Sub UserForm_Activate()
|
|||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
Me.lbHist.list = X
|
Me.lbHist.list = X
|
||||||
|
|
||||||
|
lbHEAD.ColumnCount = lbHist.ColumnCount
|
||||||
|
lbHEAD.ColumnWidths = lbHist.ColumnWidths
|
||||||
|
|
||||||
|
' add header elements
|
||||||
|
lbHEAD.clear
|
||||||
|
lbHEAD.AddItem
|
||||||
|
lbHEAD.list(0, 0) = "Modifier"
|
||||||
|
lbHEAD.list(0, 1) = "Owner"
|
||||||
|
lbHEAD.list(0, 2) = "When"
|
||||||
|
lbHEAD.list(0, 3) = "Tag"
|
||||||
|
lbHEAD.list(0, 4) = "Comment"
|
||||||
|
lbHEAD.list(0, 5) = "Sales"
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
' make it pretty
|
||||||
|
'body.ZOrder (1)
|
||||||
|
'lbHEAD.ZOrder (0)
|
||||||
|
'lbHEAD.SpecialEffect = fmSpecialEffectFlat
|
||||||
|
'lbHEAD.BackColor = RGB(200, 200, 200)
|
||||||
|
lbHEAD.Height = 10
|
||||||
|
|
||||||
|
' align header to body (should be done last!)
|
||||||
|
lbHEAD.width = lbHist.width
|
||||||
|
lbHEAD.Left = lbHist.Left
|
||||||
|
lbHEAD.Top = lbHist.Top - (lbHEAD.Height - 1)
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
|
BIN
changes.frx
BIN
changes.frx
Binary file not shown.
3
fpvt.frm
3
fpvt.frm
@ -126,6 +126,7 @@ Private Sub cbGoSheet_Click()
|
|||||||
Worksheets("month").sbMPP.value = 0
|
Worksheets("month").sbMPP.value = 0
|
||||||
|
|
||||||
Me.Hide
|
Me.Hide
|
||||||
|
months.cbMTAG.value = ""
|
||||||
Worksheets("month").Visible = xlSheetVisible
|
Worksheets("month").Visible = xlSheetVisible
|
||||||
Sheets("month").Select
|
Sheets("month").Select
|
||||||
|
|
||||||
@ -579,7 +580,7 @@ Private Sub UserForm_Activate()
|
|||||||
End If
|
End If
|
||||||
|
|
||||||
'----------reset spinner buttons----------------------
|
'----------reset spinner buttons----------------------
|
||||||
sbpd.value = 0
|
sbpv.value = 0
|
||||||
sbpp.value = 0
|
sbpp.value = 0
|
||||||
sbpd.value = 0
|
sbpd.value = 0
|
||||||
|
|
||||||
|
@ -34,7 +34,7 @@ Private did_load_config As Boolean
|
|||||||
|
|
||||||
Private Sub cbMTAG_Change()
|
Private Sub cbMTAG_Change()
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
End Sub
|
End Sub
|
||||||
|
|
||||||
@ -558,6 +558,7 @@ Sub build_json()
|
|||||||
Set np("scenario")("iter") = JsonConverter.ParseJson("[""copy""]")
|
Set np("scenario")("iter") = JsonConverter.ParseJson("[""copy""]")
|
||||||
np("source") = "adj"
|
np("source") = "adj"
|
||||||
np("type") = "new_basket"
|
np("type") = "new_basket"
|
||||||
|
np("tag") = cbMTAG.text
|
||||||
Set m = JsonConverter.ParseJson("{}")
|
Set m = JsonConverter.ParseJson("{}")
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@ End Sub
|
|||||||
|
|
||||||
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, cancel As Boolean)
|
Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, cancel As Boolean)
|
||||||
|
|
||||||
If Intersect(Target, ActiveSheet.Range("b7:v100000")) Is Nothing Then
|
If Intersect(Target, ActiveSheet.Range("b8:v100000")) Is Nothing Then
|
||||||
Exit Sub
|
Exit Sub
|
||||||
End If
|
End If
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user