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

¦p¦ó¤j¶q³sµ²sheet¸ÌªºÀx¦s®æ

¥»©«³Ì«á¥Ñ mark15jill ©ó 2011-11-16 12:00 ½s¿è

¦^´_ 1# syuan
TRY IT


TEST.rar (104.8 KB)



­ì©l½X

Sub Macro1()
'
' Macro1 Macro
'
' §Ö³tÁä: Ctrl+Shift+Y
'

For XX = 1 To 65535
    If Range("A" & XX).Value <> "" Then
   
        RQ = Range("A" & XX).Value & Range("B" & XX).Value
        Range("C" & XX).Select
        ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:=RQ & ".xlsx", _
            TextToDisplay:=RQ
    End If
Next XX
End Sub

TOP

¦^´_ 9# syuan


    B = "C:\11\"

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

¦^´_  mark15jill


    ·PÁÂmark15jill¤jªº¦^ÂÐ

¤p§Ìªº¸ô®|¸Ì½T¹ê¤Ö¤F¤@­Ó¤Ï±×½u¡A¦ý¤p§Ì¥[¤F¤§«á¦A ...
syuan µoªí©ó 2012-11-6 12:11



    ©ú©ú¸ô®|¬O"C:\11\"¡A¦ý·Æ¹«´å¼Ð«ü¨ìÀx¦s®æ¦Ó¨q¥Xªº¤p´£¥Ü«o¬Oc:\temp\.......   (¤p§Ì±N³o­ÓexcelÀɲ¾¦Üc:\temp¤º¡^


§AÀɮצb temp ÁÙ¬O  11©³¤U..

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

¥»©«³Ì«á¥Ñ mark15jill ©ó 2012-11-6 15:13 ½s¿è

¥H¤Uµ{¦¡¤À¨â³¡¥÷
1.¦C¥X c:\11\ °ÆÀɦW¬° " .tif  "ªºÀÉ®×
2.¨Ì·Ó©Ò¦C¥X¦WºÙ  +¥H³sµ²
  1. Private Sub CommandButton1_Click()
  2.     With ¤u§@ªí1
  3.     u = 1
  4.     k = 1
  5. '¦¹°Ï°ì¦Cªí
  6.             Dim mFile As String
  7.             mFile = Dir("C:\11\*.tif")
  8.             Do While mFile <> ""
  9.                
  10.                 Cells(u, 1) = mFile
  11.                 mFile = Dir()
  12.                 u = u + 1
  13.                
  14. '¦¹°Ï°ì¶W³sµ²
  15.                 With Worksheets(1)
  16.                     .Hyperlinks.Add .Cells(k, 1), "c:\11\" & Cells(k, 1)
  17.                 End With
  18.                 k = k + 1
  19.             Loop
  20.             
  21.     End With
  22. End Sub
½Æ»s¥N½X

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

¥»©«³Ì«á¥Ñ mark15jill ©ó 2012-11-6 17:15 ½s¿è
¦^´_  mark15jill


    §AÀɮצb temp ÁÙ¬O  11©³¤U..

¦^ÂÐmark15jill¤j¡A

¤p§Ì·Q­n³Q³sµ²ªºÀÉ®× ...
syuan µoªí©ó 2012-11-6 17:07


Excel ÀÉ®× (¨Ó·½) ©M ³Q³sµ²ÀÉ®×(¥Øªº)
¤£¥Î©ñ¦b¤@°_¤]¥i¥H
¥u­n¸ô®|§ï±¼§Y¥i..

­ì©l³]©w
PDFÀɮצb C:\11\
ExcelÀɮצb C:\temp

°ò¥»¤W°£«D µ{¦¡½X ¦³±NPDF ©M Excel ÂkÃþ¦P¸ê®Æ§¨©³¤U
¤£µMªº¸Ü  ExcelÀɮשҦb¤£¥Î²z·| ( ¸ô®|«ü¦V¶·¥¿½T)
­Y PDF ÀÉ®× ­ì¥»±q C:\11\ §ï¦¨ C:\99\
¥u¶·±N«ü¦VC:\11\  §ï¦¨ C:\99\

´N¦n¤ñ
¤p¾Ç¥Í¤W¾Ç
¾Ç®Õ¬O©T©w¦aÂI
¦ý¤p¾Ç¥Í¥i¯à¦]·h®a¦Ó¾É­P¦a§}¤£¦P

  ¦h°µ¦h·Q¦h¾Ç²ß¡A¤Ö¬Ý¤Ö¿ù¤Ö°g³~

  ¦h°µ=¦h¦h½m²ß¡A¦h¦h½s¼g¡C
  ¦h·Q=·Q·Q¬°¤°»ò¤H®aµ{¦¡­n¨º¼Ë¼g¡A¦pªG´«¦¨¦Û¤v¡A¤S·|«ç¼g¡C
  ¦h¾Ç²ß=¾Ç²ß¤H®aªºµo°Ý¨Ã¸Ñµª¡A¾Ç²ß¤H®aªº¼gªk

  ¤Ö¬Ý=¥u¬Ý¤£°µ¤]ªPµM

TOP

        ÀR«ä¦Û¦b : «H¤ß¡B¼Ý¤O¡B«i®ð¤TªÌ¨ã³Æ¡A«h¤Ñ¤U¨S¦³°µ¤£¦¨ªº¨Æ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD