- ©«¤l
- 4
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 6
- ÂI¦W
- 0
- §@·~¨t²Î
- win7
- ³nÅ骩¥»
- home
- ¾\ŪÅv
- 10
- µù¥U®É¶¡
- 2014-11-18
- ³Ì«áµn¿ý
- 2014-11-18
|
¥»©«³Ì«á¥Ñ clayton0403 ©ó 2014-11-18 12:49 ½s¿è
¦^´_ 3# owen06
¥ýÁÂÁ§A..¦pªG§Ú·Qn§ó·s¥L¦Ó¤£¬O¿ï¾Ü¥¦©O?
§Ú³o¼Ë¤l¤ñ¸û½ÆÂø¥h¥´ªº¸Ü¡A¸Ó¦p¦óset data source¸òseriouscollection?- Option Explicit
- Public analyopt As Integer
- Sub main()
- frmselect.Show
- Select Case analyopt
- Case 1
- Call Histdata1
- Case 2
- Call Histdata2
- Case 3
- Call Histdata3
- End Select
-
- End Sub
- Sub Histdata1()
- Dim OHLCrange1 As Range
- Dim DateRange1 As Range
-
- With ws1
- .Visible = True
- .Activate
-
- Set OHLCrange1 = .Range("A2, E25")
- End With
-
- Call create1chart(OHLCrange1, DateRange1)
-
- End Sub
- Sub create1chart(OHLCrange1 As Range, DataRange1 As Range)
- With chart1
- .Visible = True
- .Activate
- .SetSourceData OHLCrange1
- .Deselect
-
- End With
- End Sub
- Sub Histdata2()
- Dim OHLCrange2 As Range
- Dim DateRange2 As Range
-
- With ws2
- .Visible = True
- .Activate
-
- Set OHLCrange2 = .Range("A2, E47")
- Set DateRange2 = .Range("A2, A47")
- End With
-
- Call create1chart(OHLCrange1, DateRange1)
-
- End Sub
- Sub create2chart()
- End Sub
- Sub Histdata3()
-
- End Sub
- Sub create3chart()
- End Sub
½Æ»s¥N½X |
|