·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
|
·s¤â°ÝÃD,¦p¦ó¿z¿ï«á¦Û°Ê±N¸ê®Æ¥Ñ²Ä¤@Äæ§R°£¦Ü³Ì«á¤@Äæ???
¥»©«³Ì«á¥Ñ p6703 ©ó 2012-1-5 11:33 ½s¿è
¤p§Ìªñ´Á¶}©l¾Ç²ßVBA¡A²{¶¥¬qÁÙ¬O¨Ï¥Î¿ý»sªº¤è¦¡¾Ç²ß¡A¦]¸ê®Æ¨C¦¸§¡·|¦³©ÒÅܧó¡Aì¿ý»s®É¬O«ö©w·í®É¸Ó¦C¼Æ¡]¨Ò¡A¤W¦¸¿ý»sªº¦C¼Æ¬°11¦C¶}©l§R°£¡A¦ý¤U¦¸ªº¸ê®Æ¿z¿ï«áªº¸ê®Æ¥Ñ²Ä2¦C¶}©l®É¡A2~10¦Cªº¸ê®Æ´NµLªk§R°£¤F¡^¡A½Ð°Ý¦p¦ó³]©w¥¨¶°¡A¨Ï¨ä¿z¿ï«á¥Ñ²Ä¤@²Å¦X±ø¥óªº¸ê®Æ¶}©l§R°£¦Ü³Ì«á¤@¦C
¥t¦p¦ó³]©w«ü©wÄæ¦ìªº¸ê®Æ¥un²Å¦X¬Y±ø¥ó¡A§Y¦Û°Ê±N°£¤F¸Ó±ø¥ó¥~ªº¸ê®Æ¥þ¼Æ§R°£???¡]¨Ò¡GEÄæ¤Z¦³M¶}ÀYªº¸ê®Æ¯dµÛ¡A¨ä¾lì¸ê®Æ¦Û°Ê§R°£¡^==>¦pn¦hÄæ¦ì²Å¦X³]©w±ø¥ó¡A¬O§_¤]¥i¨Ì¼Ë§@·~§Y¥i¹F¦¨???
¦p©ó³ÆµùÄæ¦ì¶ñ¤J¦h¦C¸ê®Æ¡A¥i§_¨Ì¨C¦C©T©w¦æ°ª15¡A¦Û°Ê½Õ¾ã¾A·íªº¦C°ª¡]¨Ò¡G¦pÄæ¦ì¤º¦³4¦C¡A§Y¦C°ª¬°60¡^
¥H¤W°ÝÃD·Ð½Ð¥ý¶i¤£§[«ü±Ð¡A¥ý¦b¦¹ÁÂÁ¤F:handshake
·PÁÂGBKEE¥S§Y®Éªº§iª¾¡A¤w±N¸ê®Æªþ¥ó¦p¤U
Book2.rar (2.29 KB)
|
|
|
|
|
|
|
- ©«¤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 |
|
|
|
|
|
|
- ©«¤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¡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
- 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
|
¨þ¨þ..·PÁÂGBKEE¥S°Õ,§Ú¥u¬O·Q»¡©¹«á¥i¯àÁÙ¥i¹B¥Î,«ö¥H¤W¥¨¶°°õ¦æ«áÀ³¥i²Å¦Xn¨D¤F,¦ý¤p§ÌÁÙ¬O¦³¤@°ÝÃD,ÁöµM¤w¥i«öÄæ¦ìn¨D¦Û°Ê³]©w¦C°ª,¦ýµo²{¬O«ö¹w³]ªº¦C°ª12¥h½Õ¾ãªº,¦]¤p§Ì¨Ï¥Îªº²ßºD¦rÅé¤j¤p¬°9®É,¾A·íªº¦C°ª¬°15,³o¬O§_¥i¦A¸g¥Ñ¥¨¶°½Õ¾ã©O??? |
|
|
|
|
|
|
- ©«¤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
|
·PÁÂGBKEE¥S¡A¤p§Ì¤´¤£©ú¥¨¶°¥Îªk¡A¯S¦A½Ð°Ý¡G
²Ä¤GºØ¥¨¶°°õ¦æ«á¦æ°ªÅܬ°36¡A¥B¦n¹³¨CÓ³øªí°õ¦æ°_¨Ó¦æ°ª§¡¤£¦P¡A¥B©ó¥¨¶°¤¤¥¼¨£¦³«ü©w¥HFÄæ¦ì¦æ°ª§P©w¡A¤£ª¾¬O§_¥i¦A¥[¥H¸ÑÄÀ¥¨¶°ªº¥Îªk??? |
|
|
|
|
|
|