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

[µo°Ý] Ãö³¬¯S©wexcelÀÉ®×

¦^´_ 3# pointchi

§Ú±N±z»¡©úªº¦r¦ê¥[¤J§ÚªºVBA¡A·íÀɮ׬°Link¬O¥i¥H¦Û°ÊÃö³¬¡A¥i¬OLink(1)...Link(N-1)®É¤´µLªkÃö³¬¡A½Ð°Ý¬O§_§Ú¦³­þÃä¿ù»~¡Aªþ¤W§ÚªºVBA
>> ¬Ý§Aªºµ{¦¡¥u¦³°w¹ïLink°Ê§@¡A¨ä¥¦ªº¨S¦³¡AÁÙ¬O¤è«K¥i¥Hªþ¤WÀɮסA´y­z»Ý¨Dµ²ªG¡AÁÂÁÂ

TOP

S ¤j¡A§Ú±N±z»¡©úªº¦r¦ê¥[¤J§ÚªºVBA¡A·íÀɮ׬°Link¬O¥i¥H¦Û°ÊÃö³¬¡A¥i¬OLink(1)...Link(N-1)®É¤´µLªkÃö³¬¡A½Ð°Ý¬O§_§Ú¦³­þÃä¿ù»~¡Aªþ¤W§ÚªºVBA

Sub step01()
    a = Cells(13, 4)
    If Len(a) >= 28 Then
        Worksheets("raw").Cells(13, 4).Font.Name = "Arial"
        Worksheets("raw").Cells(13, 4).Font.Size = 35
        Worksheets("raw").Cells(13, 4).Font.FontStyle = "²ÊÅé"
    Else
        Worksheets("raw").Cells(13, 4).Font.Name = "Arial"
        Worksheets("raw").Cells(13, 4).Font.Size = 48
        Worksheets("raw").Cells(13, 4).Font.FontStyle = "²ÊÅé"
    End If
   
    Set WB = Workbooks.Open("C:\Users\Point\Downloads\link.xlsm")
    WB.Close

End Sub

TOP

¦^´_ 1# pointchi

'FPath= "D:\Link.xls"
Set WB = Workbooks.Open('FPathÀɮרӷ½¸ô®|)
WB.Close

TOP

        ÀR«ä¦Û¦b : ¦³¦h¤Ö¤O¶q´N°µ¦h¤Ö¨Æ¡A¤£­n¤ß¦sµ¥«Ý¡Aµ¥«Ý¤~·|¸¨ªÅ¡C
ªð¦^¦Cªí ¤W¤@¥DÃD