ªð¦^¦Cªí ¤W¤@¥DÃD µo©«

¡]¤w¸Ñ¨M¡^½Ð°ÝŪ¨ú¬Y¢ë¢÷¢ô¢ý¢õ¢ö³Ì«á¤@­Ó¢ú¢÷£@¼Æ­Èªº¼gªk¡H

¡]¤w¸Ñ¨M¡^½Ð°ÝŪ¨ú¬Y¢ë¢÷¢ô¢ý¢õ¢ö³Ì«á¤@­Ó¢ú¢÷£@¼Æ­Èªº¼gªk¡H

¥»©«³Ì«á¥Ñ m09903020 ©ó 2012-7-9 12:46 ½s¿è

¤j®a¦n

¡@¡@¡@¡@¤pªº·Q½Ð°Ý½Ð°Ý¡@Ū¨ú¬Y¢ë¢÷¢ô¢ý¢õ¢ö³Ì«á¤@­Ó¢ú¢÷£@­Èªº¼gªk¡H

¡@¡@¡@¡@­è­è¤Wºô§ä¤F»yªk¦Û¤v¸Õ¹L¡A¦ý¢à¢Ï¢Ü¢Õ¢Ó½d³ò¥X¤F°ÝÃD¡@·Q½Ð±Ð¡@½Ð¤j®aÀ°¦£¡@ÁÂÁÂ
  1. Dim colnumber2 As Integer

  2.     colnumber2 ¡×Sheets("SMARD").Range("A1", Range("A1").End(xlDown)).Columns.Count

  3. MsgBox colnumber2
½Æ»s¥N½X

¥»©«³Ì«á¥Ñ Hsieh ©ó 2012-7-8 23:46 ½s¿è

¦^´_ 1# m09903020
§Aµ{¦¡½Xªº·N¸q¬O
A1¨ìA1©¹¤U¨ì¸ê®Æ§Àªº½d³ò©Ò¥]§tÄæ¦ì¼Æ¶q
­Y­n¨ú±o¦C¼Æ
colnumber2 ¡×Sheets("SMARD").Range(Sheets("SMARD").[A1],Sheets("SMARD").[A1].end(xlDown)).Rows.Count
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

Hsiehª©¥D¤j¤j~
http://forum.twbts.com/thread-7071-1-1.html
³o¬O°ÝÃDªººô§}

TOP

¦^´_ 2# Hsieh


    ¥ýÁÂÁ¡@Hsiehª©¥D¡A¡@¤£ª¾¹D¬O§Úªºexcel¹q¸£­þ¸Ì¦³°ÝÃD

colnumber2 ¡×Sheets("SMARD").Range(Sheets("SMARD").[A1],Sheets("SMARD").[A1].end(xlDown)).Rows.Count

¨Ï¥Î«áÁÙ¬O¸ò¤§«e¤@¼Ë¦³¢ê¢ý¢ï    "°õ¦æ¶¥¬q¿ù»~'¢¸' °}¦C¤Þ¯Á¶W¥X½d³ò"³o­Ó¤pµøµ¡¡@¢I¢I¢é
³o¸Ì©ú©ú¨S¦³°}¦Cªü¡C¡C¡C

TOP

¦^´_ 4# m09903020


    Sheets("SMARD")¬O§_¦s¦b?
½Ð¤W¶ÇÀɮ׬ݬÝ
¾Ç®üµL²P_¤£®¢¤U°Ý

TOP

¥»©«³Ì«á¥Ñ m09903020 ©ó 2012-7-9 12:45 ½s¿è

¦^´_ 5# Hsieh

¡@¯u¬O¹ï¤£°_¡ã¡@§Ú¤Ó¤Ñ§L¤F

¡@§Ú¯uªº¬Osheet¦WºÙ¥´¿ù¦r¤F orz|||     ¤U¦¸§Ú·|²Ó¤ßÂI¡×¡@¡×¡I
   
¡@ ÁÂÁ¶W¯Åª©¥D¡C¡@

TOP

        ÀR«ä¦Û¦b : ¤Hªº¤ß¦a¬O¤@²¥¥Ð¡A¤g¦a¨S¦³¼½¤U¦nºØ¤l¡A¤]ªø¤£¥X¦nªºªG¹ê¡C -
ªð¦^¦Cªí ¤W¤@¥DÃD