·s¤â°ÝÃD,¦p¦ó¿z¿ï«á¦Û°Ê±N¸ê®Æ¥Ñ²Ä¤@Äæ§R°£¦Ü³Ì«á¤@Äæ???
- ©«¤l
- 134
- ¥DÃD
- 27
- ºëµØ
- 0
- ¿n¤À
- 168
- ÂI¦W
- 0
- §@·~¨t²Î
- WINXP
- ³nÅ骩¥»
- EXCEL 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¶³ªL
- µù¥U®É¶¡
- 2010-10-6
- ³Ì«áµn¿ý
- 2018-5-13
|
GBKEE¥S¡A¦p«ö¥H¤W¥¨¶°¡A¨º°õ¦æ«á¨C¦C½Õ¾ã¦¨15¦æ°ª¡A«D¤p§Ì»Ý¨D
¦p«öEXCEL¦Û°Ê½Õ¾ãªº¥\¯à¡A¦pªG¸Ó¦æÄæ¦ì³Ì¦h¦³7¦C¡A«h«ö¦rÅé9¨ä¦æ°ª§Y¬°7 X 12=84¡A¦ý¦C¦L·|¦³¤@¨Ç¦rÅé³Qµô¤Á¡A½Õ¾ã¬O¥H¦æ°ª15¬°¨Î
¬G¤p§Ì¬O§Æ±æ¥i«ö¥¨¶°±NìEXCELªº¹wp¦æ°ª12--->15 |
|
|
|
|
|
|
- ©«¤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
|
¦^´_ 11# p6703 - Option Explicit
- Sub Ex()
- Dim ChrMax As Integer, R As Range, TheChr As String, A As Integer, Chrx As Integer
- ChrMax = 0 'Âk¹s: ¬ö¿ý "´«¦C¦r¤¸" ªº³Ì¤j¼Æ¥Ø
- For Each R In Sheet1.Range("F1:F10") '¨Ì§Ç³B¸Ì½d³ò¤¤ªº¤lª«¥ó ¦¹³B¬O: Àx¦s®æ
- If InStr(R, Chr(10)) Then '·j´M´«¦C¦r¤¸: Chr(10)
- TheChr = R 'Àx¦s®æ¦r¦ê«ü©w¨ì TheChr
- A = 0 'Âk¹s: "´«¦C¦r¤¸"©ó ¦r¦êªº¦ì¸m
- Chrx = 0 'Âk¹s: ·j´M¨ì"´«¦C¦r¤¸" ªº¦¸¼Æ
- Do
- A = InStr(Mid(TheChr, A + 1), Chr(10)) 'A: "´«¦C¦r¤¸"©ó ¦r¦êªº¦ì¸m
- TheChr = Mid(TheChr, A + 1) '«·s«ü©w¦r¦ê TheChr ±q A+1 ¨ì¦r¦ê§ÀºÝ
- Chrx = Chrx + 1 '·j´M¨ì "´«¦C¦r¤¸"ªº¦¸¼Æ + 1
- Loop Until A = 0 'Â÷¶}°j°éDo Loop ªº±ø¥ó: ·j´M¤£¨ì"´«¦C¦r¤¸"
- If Chrx > ChrMax Then ChrMax = Chrx '¬ö¿ý "´«¦C¦r¤¸" ªº³Ì¤j¼Æ¥Ø
- End If
- Next
- With Sheet1.Range("F1:F10")
- .RowHeight = IIf(ChrMax > 0, ChrMax, 1) * 12 '½Õ¾ã¦C°ª
- .Font.Size = 9 '»sq¦rÅé¤Ø¤o
- End With
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|
- ©«¤l
- 134
- ¥DÃD
- 27
- ºëµØ
- 0
- ¿n¤À
- 168
- ÂI¦W
- 0
- §@·~¨t²Î
- WINXP
- ³nÅ骩¥»
- EXCEL 2003
- ¾\ŪÅv
- 20
- ©Ê§O
- ¨k
- ¨Ó¦Û
- ¶³ªL
- µù¥U®É¶¡
- 2010-10-6
- ³Ì«áµn¿ý
- 2018-5-13
|
GBKEE¥S,«ö¥H¤W¥¨¶°®M¥Îì§Úªþ¥ó,¤´µLªk¹F¦¨¤p§Ìn¨Dªº
¤p§Ì¤Wºô§ä¤F¤@¨Ç¬ÛÃöªº°Q½×,¥H¤U¥i¹F¦¨¤@³¡¥÷ªºn¨D(´N¬O¤£Â_¦æ,¥H¨C¦æ26¦rpºâ,¶W¹L§Yª½±µµL±ø¥ó¶i¦ì¤@¦C)
¥H¤U¥¨¶°¬O¤@¦¸§P©w200¦C,½Ð°Ý¦p¦ó¥¨¶°¦Û°Ê§PÂ_¸ê®Æ¦æ¼Æ,¦Û¦æ¥i¥H«ö¦³¸ê®Æªº¦C¼Æ¥h³]©wÄæ°ª©O???
¦ý¦pªG«öªþ¥ó¤¤FÄæ¦ìªº¸Ü«h¦¹¤´µLªk¹F¦¨(¦]¨Ì½s¸¹Â_¦æ,¦³®É¤@¦C¥i¯à10´XÓ¦r)- Sub ¦æ°ª()
- Dim i As Integer
- For i = 1 To 200
- If (Len(Cells(i, 12)) / 26) > 1 Then
- Y = Application.WorksheetFunction.RoundUp(Len(Cells(i, 12)) / 26, 0)
- Rows(i).RowHeight = 15 * Y
- End If
- Next
- End Sub
½Æ»s¥N½X |
|
|
|
|
|
|