¦pªG§ï¦¨
NN= cells(2,1)
MM=cells(3,1)
For Each e In Array(NN,MM)
Set fs = CreateObject("Scripting.FileSystemObject").GetFolder(e)
¤l¸ê®Æ§¨ fs
Next
·|¥X¿ù
½Ð°Ý¦³¿ìªk¦Û¤v¦bÀx¦s®æ¿é¤J¦ì§}¶Ü§@ªÌ: GBKEE ®É¶¡: 2012-11-3 15:06
With ActiveSheet.Pictures.Insert(e & "\" & f.Name)
½Æ»s¥N½X
¦p¦¹¬Ý¨Ó¡AFor Each f In e.Files ªº f ¦b 2003 ¥¦¥i¥H·í¦¨¦r¦êª½±µ³B²z¡A
¦Ó¦b 2010 ®É¡A f «hµø¬°¤@Óª«¥ó (Class)¡A¦¹®É¦pªGª½±µ¨Ï¥Î¥¦°õ¦æ
With ActiveSheet.Pictures.Insert(f) ´N·|¥X²{ 1004 ªº¿ù»~°T®§¡C§@ªÌ: GBKEE ®É¶¡: 2012-12-13 15:03
¦^´_ 28#GBKEE
§Ú¬ÝÀ´¤F~
·PÁÂ~
¸ò4#ªºµ{¦¡½X®t¤F¤@ÂI
Private Sub ¤l¸ê®Æ§¨(TheFolder)
Dim fs As Object, f As Object
Set fs = CreateObject("Scripting.FileSystemObject").GetFolder(TheFolder)
=========================================================
Private Sub ¤l¸ê®Æ§¨(¸ê®Æ§¨ As Variant)
Dim fs As Object, f As Variant
Set fs = CreateObject("Scripting.FileSystemObject").GetFolder(¸ê®Æ§¨)
¥i¥H½Ð°Ý¤W±¸ò¤U±ªº®t§O¶Ü§@ªÌ: GBKEE ®É¶¡: 2012-12-15 11:35
¦^´_ 29#whirlwind963
¬O¤@¼Ëªº: ³o¤Þ¼Æ TheFolder ¨S«Å§i«¬ºA ´N¬O As Variant