- ©«¤l
- 2
- ¥DÃD
- 1
- ºëµØ
- 0
- ¿n¤À
- 4
- ÂI¦W
- 0
- §@·~¨t²Î
- windows
- ³nÅ骩¥»
- windows 7
- ¾\ŪÅv
- 10
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2016-4-11
- ³Ì«áµn¿ý
- 2016-4-21
|
Dim i As Integer
Dim j As Integer
Dim k As Integer
Dim l As Integer
Dim m As Integer
Dim t As String
Dim w As String
Dim u As String
Dim Row1 As String
Dim Row2 As String
Dim Row3 As String
i = InputBox("½Ð¿é¤Jnø»s¹Ïªí¦~¤À" & Chr(13) & "¨Ò¦p¡G105¦~¿é¤J105", ø»s¦~¥÷)
j = InputBox("½Ð¿é¤Jnø»s¹Ïªí¤ë¤À" & Chr(13) & "¨Ò¦p¡G1¤ë¿é¤J1", ø»s¤ë¥÷)
t = i & "." & j & "(¤u°È©Ò)"
w = i & "." & j & "(¦U¶µ¯Ê¥¢²Îp¹Ï)"
u = i & "." & j & "(Åv«²Îp¤ÀªR)"
Sheets(t).Select
FindStr = "¤pp"
Set a = Cells.Find(FindStr, lookat:=xlWhole)
If a Is Nothing Then MsgBox "¬dµL¦¹¦r¦ê" Else b = a.Address
If Len(b) = 5 Then Row = Right(b, 2) Else Row = Right(b, 1)
k = Row - 1
l = Row + 1
m = Row + 3
Row1 = "W" & CStr(k)
Row2 = "W" & CStr(l)
Row3 = "W" & CStr(m)
Charts.Add Before:=Worksheets(u)
ActiveChart.Name = w
Worksheets(t).Range("A3:" & Row1, "A" & l & ":" & Row2, "A" & m & ":" & Row3).Select
¦]¬°¤u§@¤W»Ýn ¨CӤ볣nø»sÃþ¦üªº¹Ïªí
¦ý¬O¨CӤ몺°ò¥»¸ê®Æµ§¼Æ³£¤£¤@¼Ë
©Ò¥H¦b¿ï¨ú¹Ïªí½d³ò®É §Ú¬O·Q»¡¥ý¥Î·j´M"¤pp"±o¨ì³o®æªº¦ì¸m ¨ä¦C¼Æ´î1´N±o¨ì§Ún¿ï¨úªº½d³ò
¦ý°£¤F°ò¥»¸ê®Æ §ÚÁÙ·Q¥[¦P¤@¤u§@ªí¸Ì¥t¥~¦Ê¤À¤ñªº¨â¦C¤@°_ø»s²Îp¹Ïªí(¸Ó¨â¦C»P¤W±°ò¥»¸ê®Æ½d³ò¤£¬Û³s)
¦ý¬O¨ì¤F¤W±³Ì«á¤@¦æ °õ¦æ¤@ª½¥X²{"¤Þ¼ÆӼƿù»~©Î«ü©w¤£½T©wªºÄÝ©Ê"¿ù»~
¦ý¬O§Ú§â¤TÓ½d³ò¤À§O³æ¿W°õ¦æ¤S³£¨S°ÝÃD
½Ð±Ð°ÝÃD¥X¦bþ
¥i§_«üÂI°g¬z ÁÂÁ |
|