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

½Ð°Ý¦p¦ó¦ÛÀɮ׸ô®|ªº¦r¦ê¤¤¡A©î¥X¸ô®|©MÀɦW?

¥»©«³Ì«á¥Ñ luhpro ©ó 2010-9-3 00:37 ½s¿è

¥u­n§ä¨ì³Ì«á¤@­Ó "\" ªº¦ì¸m,
¦A¨Ì¦¹±N§¹¾ãªºÀɦW¦r¦ê¤À§O©î¶}¨ú¥Î§Y¥i.

Dim sStr$, i%, strDir$, strFile$
sStr = "F:\§Úªº¤å¥ó\9908\filename.xls"
i = InStrRev(sStr, "\", Len(sStr), 1)
strDir = Left(sStr, i)
strFile = Mid(sStr, i + 1, Len(sStr) - i)

TOP

        ÀR«ä¦Û¦b : ¬O«D·í±Ð¨|¡AÆg¬ü§@ĵ±§¡C
ªð¦^¦Cªí ¤W¤@¥DÃD