excel macro export to xml format
来源:互联网 发布:网龙网络控股有限公司 编辑:程序博客网 时间:2024/05/23 00:01
Sub createtxt()
Dim Rng As Range
Dim obj, blogTxt
For Each Rng In Range("A1:A100")
Myname = Rng
MyText = Rng.Offset(0, 0)
Set obj = CreateObject("scripting.filesystemobject")
Set blogTxt = obj.OpenTextFile("c:\ab.txt", 8, True)
'<option value="911 Targa 996">911 Targa 996</option>
If MyText <> "" Then
blogTxt.Write "<option value='" & MyText & "'>" & MyText & "</option>" & vbCrLf
End If
'blogTxt.Write MyText & vbCrLf
blogTxt.Close
Set obj = Nothing
Set blogTxt = Nothing
If MyText = "" Then
GoTo a
End If
Next
a:
End Sub
Dim Rng As Range
Dim obj, blogTxt
For Each Rng In Range("A1:A100")
Myname = Rng
MyText = Rng.Offset(0, 0)
Set obj = CreateObject("scripting.filesystemobject")
Set blogTxt = obj.OpenTextFile("c:\ab.txt", 8, True)
'<option value="911 Targa 996">911 Targa 996</option>
If MyText <> "" Then
blogTxt.Write "<option value='" & MyText & "'>" & MyText & "</option>" & vbCrLf
End If
'blogTxt.Write MyText & vbCrLf
blogTxt.Close
Set obj = Nothing
Set blogTxt = Nothing
If MyText = "" Then
GoTo a
End If
Next
a:
End Sub
0 0
- excel macro export to xml format
- Export DataSets to Excel...
- export to excel
- Export GridView to Excel
- Export to excel
- Export to Excel
- EXCEL export to TXT
- Export to excel
- Proceduce Export Table To Excel
- ASP:Export to Excel (1)
- ASP: Export to Excel (2)
- Export to Excel user Control
- Export to Excel from Repeater
- excel export to latex table
- export data to xml file
- How to use SQLPlus export data to csv format
- export grid to excel fast and wyswyg
- Export ASP.NET DataGrid To Excel
- 处理一些warning
- 正则表达式匹配HTML
- Android Studio简单更新方法
- 三星手机上执行system()等函数失败
- linux下修改mtu值
- excel macro export to xml format
- JSP运行原理
- 2.2.2、容器的使用
- OpenWrt TTL刷机原理
- JNI 无法确定Bitmap的签名
- Java synchronized详解
- uci使用
- Zabbix
- POJ 3041 Asteroids(二分图最大匹配)