按键精灵怎么制作两个快速复制和粘贴的脚本
2017-05-05
展开全部
Set objWord = CreateObject("Word.Application")
objWord.Visible = True
Set objDoc = objWord.Documents.Open("D:\1.doc")
Set Table = objDoc.Tables(1)
For i = 1 To Table.Rows.Count
For j = 1 To Table.Columns.Count
Table.Cell(i, j).Range.Text = i *j
Next
Next
Set objDoc = Nothing
Set objWord = Nothing
objWord.Visible = True
Set objDoc = objWord.Documents.Open("D:\1.doc")
Set Table = objDoc.Tables(1)
For i = 1 To Table.Rows.Count
For j = 1 To Table.Columns.Count
Table.Cell(i, j).Range.Text = i *j
Next
Next
Set objDoc = Nothing
Set objWord = Nothing
已赞过
已踩过<
评论
收起
你对这个回答的评价是?
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询
广告 您可能关注的内容 |