- ©«¤l
- 759
- ¥DÃD
- 249
- ºëµØ
- 0
- ¿n¤À
- 1021
- ÂI¦W
- 0
- §@·~¨t²Î
- windows 11
- ³nÅ骩¥»
- OFFICE2021
- ¾\ŪÅv
- 50
- ©Ê§O
- ¨k
- µù¥U®É¶¡
- 2011-5-30
- ³Ì«áµn¿ý
- 2024-11-20
|
¶¶«K¸É¥R2¼ÓcsvÀÉ ¸òhtml ¸ü¤J¤u§@ªíªº»yªk
CSV Àɸü¤J
sub goDKDKD()
Dim srWk As Workbook
Dim srPth
srPth = "R:\TEMP\1.CSV"
If srPth = False Then Exit Sub
Application.ScreenUpdating = False
Set srWk = GetObject(srPth)
srWk.ActiveSheet.Cells.Copy ThisWorkbook.Worksheets(1).Cells(1)
srWk.Close False
Set srWk = Nothing
Cells(2, 1).Select
END SUB
--------------------------------------------
html Àɸü¤J
sub goDKDKD()
Dim srWk As Workbook
Dim srPth
srPth = "R:\TEMP\1.html"
If srPth = False Then Exit Sub
Application.ScreenUpdating = False
Set srWk = Workbooks.OpenXML(srPth)
srWk.ActiveSheet.Cells.Copy ThisWorkbook.Worksheets(1).Cells(1)
srWk.Close False
Set srWk = Nothing
Cells(2, 1).Select
END SUB
--------------------------------------- |
|