- ©«¤l
- 4901
- ¥DÃD
- 44
- ºëµØ
- 24
- ¿n¤À
- 4916
- ÂI¦W
- 62
- §@·~¨t²Î
- Windows 7
- ³nÅ骩¥»
- Office 20xx
- ¾\ŪÅv
- 150
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¥x¥_
- µù¥U®É¶¡
- 2010-4-30
- ³Ì«áµn¿ý
- 2025-3-13
               
|
¦^´_ 8# ann
n²Ä¤@ÓÀx¦s®æÅã¥Ü©Ò¦³È¡A²Ä2ÓÀx¦s®æ¥H«áªºÈ«O¯d?
- Private Sub CommandButton1_Click() '¦X¨Ö
- Dim ar()
- Application.ScreenUpdating = False
- With Selection
- adr = .Address
- For Each a In .Cells
- ReDim Preserve ar(s)
- ar(s) = a
- s = s + 1
- Next
- .ClearContents
- For Each a In .Cells
- a.Value = ar(i)
- i = i + 1
- Next
- .Cells(1, 1).Value = Join(ar)
- With Sheets.Add
- Set ns = ActiveSheet
- .Range(adr).Merge
- .Range(adr).Copy
- End With
- .PasteSpecial Paste:=xlPasteFormats
- Application.DisplayAlerts = False
- ns.Delete
- Application.DisplayAlerts = True
- End With
- Application.ScreenUpdating = True
- End Sub
- Private Sub CommandButton2_Click() '¤À¸Ñ
- With Selection
- r = 1
- mystr = .Cells(1)
- .UnMerge
- .Cells(1) = Split(mystr, " ")(0)
- End With
- End Sub
½Æ»s¥N½X |
|