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

½Ð±Ð¦³ÃöWORDªí®æ¤º¸ê®Æ³sµ²¦ÜEXCEL

RE: EXCEL ªº¶×¤J¥~³¡¸ê®Æ

¦^´_ 7# mgame168
¦bwordµ{¦¡¸ÌÅܧódoc «á½Ð±NÀÉ®× [¥t¦s¬°ºô­¶]   ¨Ò:¤å¥ó1.mht
½Ð¦bxls Àɮפ¤ ±N¤U¦Cµ{¦¡½Æ»s©ó ThisWorkbookª«¥ó¸Ì
¦sÀÉ«á ¨C·í xls ¶}±Ò®É ¦Û°Ê§ó·s¬° docªº³Ì·s¸ê®Æ
  1. Private Sub Workbook_Open()
  2. With Sheet1
  3. If .QueryTables.Count = 0 Then
  4. .QueryTables.Add "URL;file:///D:/TEST/¤å¥ó1.mht", .[A1]
  5. Else
  6. .QueryTables(1).Connection = "URL;file:///D:/TEST/¤å¥ó1.mht"
  7. End If
  8. .QueryTables(1).Refresh
  9. End With
  10. End Sub
½Æ»s¥N½X

TOP

        ÀR«ä¦Û¦b : ¯u¥¿ªº·R¤ß¡A¬O·ÓÅU¦n¦Û¤vªº³oÁû¤ß¡C
ªð¦^¦Cªí ¤W¤@¥DÃD