- ©«¤l
- 5923
- ¥DÃD
- 13
- ºëµØ
- 1
- ¿n¤À
- 5986
- ÂI¦W
- 0
- §@·~¨t²Î
- win10
- ³nÅ骩¥»
- Office 2010
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥xÆW°ò¶©
- µù¥U®É¶¡
- 2010-5-1
- ³Ì«áµn¿ý
- 2022-1-23
|
¥»©«³Ì«á¥Ñ GBKEE ©ó 2010-8-3 18:51 ½s¿è
´_ 4# myleoyes
Leov18-2.xls ¤¤¥u¦³¹Ú·Q Leov18-1.xls ¤¤¦³¹Ú·Q,99,100¸Ì±³£¬O¤½¦¡
µ¹§Aªºµ{¦¡¤¤ .SpecialCells(xlCellTypeFormulas) ´N¬O¤½¦¡ªº°Ñ¼Æ
À³¸Ó¬O ¦p¹Ïªº»Ý¨D §A¨S¦³»¡²M·¡
- Sub ¦~«×¶µ¥Ø()
- Dim Y, C%, TILE$, Sh As Worksheet
- Sheets("º¶").Activate
- On Error GoTo Er:
- Ag:
- Y = Application.InputBox("¿é¤J¦~«×" & TILE, , 99)
- If Y = False Then Exit Sub
- If Y = "¹Ú·Q" Then
- Set Sh = Sheets("¹Ú·Q")
- Else
- Set Sh = Sheets(Y & "¦~«×¹Ú·Q")
- End If
- With Range("A4:E4")
- .Insert 'Shift:=xlDown
- .Cells(0, 1).NumberFormatLocal = "YYYY/MM/DD"
- .Cells(0, 1) = Y & "/1/1"
- .Cells(0, 2) = Sh.Name
- For I = 1 To Sh.Range("A:A").SpecialCells(xlCellTypeFormulas).Cells.Count
- .Cells(0, I + 2) = Sh.Range("A:A").SpecialCells(xlCellTypeFormulas).Areas(I)
- Next
- End With
- Exit Sub
- Er:
- TILE = Chr(10) & " *** §ä¤£¨ì " & Y & "¦~«×¹Ú·Q ¤u§@ªí ***"
- Resume Ag
- End Sub
½Æ»s¥N½X |
|