社区
VB基础类
帖子详情
有关word和documents
contactjoe
2000-08-03 04:12:00
书上写到Documents是word当前打开的所有
Document对象所组成的集合如下代码:
for each doc in documents
......
还如此引用:Documents("report.doc")...
VB根本不认documents,这是怎麽回事,书上写错了吗?
...全文
87
3
打赏
收藏
有关word和documents
书上写到Documents是word当前打开的所有 Document对象所组成的集合如下代码: for each doc in documents ...... 还如此引用:Documents("report.doc")... VB根本不认documents,这是怎麽回事,书上写错了吗?
复制链接
扫一扫
分享
转发到动态
举报
写回复
配置赞助广告
用AI写文章
3 条
回复
切换为时间正序
请发表友善的回复…
发表回复
打赏红包
wulang
2000-08-05
打赏
举报
回复
同意Un1,你可以看一下Word帮助,里面介绍的比较详细
wumou
2000-08-04
打赏
举报
回复
Dim obj1 As Word.Application
Dim obj2 As Word.Document
Set obj1 = CreateObject("word.application")
Set obj2 = obj1.Documents.Open(ls)
obj2.SaveAs Left(ls, Len(ls) - 3) & "txt"
obj2.Close False
Set obj2 = Nothing
obj1.Quit
Set obj1 = Nothing
Un1
2000-08-03
打赏
举报
回复
这是指在Word的VBA内部,如果在VB程序中使用必须先引用Word对象,然后
dim ap as word.application
set ap = new word.application
dim d as document
for each d in ap.documents
msgbox d.name
next
[
Word
] Creating Research and Scientific
Document
s Using Microsoft
Word
(英文版)
☆ 资源说明:☆ [Microsoft Press] Creating Research and Scientific
Document
s Using Microsoft
Word
(英文版) [Microsoft Press] Creating Research and Scientific
Document
s Using Microsoft
Word
(E-Book) ☆ 图书概要:☆ Research fuels innovation—and with this focused guide to Microsoft
Word
, you can help increase your team’s collaborative power and effectiveness, and bring new research to life. Writing proposals, reports, journal articles, theses, and other technical
document
s as a team poses unique challenges, not the least of which is consistent presentation and voice. You must also manage the formatting and accuracy of figures, equations, and citations, and comply with the style rules of external publications. In this book you’ll learn from the authors’ extensive experience managing the authoring and publication of technical content, and gain specific practices and templates you can apply right away. ☆ 出版信息:☆ [作者信息] Alexander Mamishev , Murray Sargent [出版机构] Microsoft Press [出版日期] 2013年11月01日 [图书页数] 288页 [图书语言] 英语 [图书格式] PDF 格式
document
s4j,
document
s4j是一个java库,用于将文档转换为另一种文档格式.zip
document
s4j是一个用于将文档转换为其他文档格式的java库。这是通过将转换委托给任何本机应用程序来实现的,这些应用程序能够理解将给定文件转换为所需目标格式的过程。
document
s4j附带了对ms-
word
和ms-excel for windows的修改,例如,允许将docx文件转换为pdf文件,而不必对生成的文档进行常见的扭曲,这些扭曲通常是在使用非微软产品进行转换时观察到的。
vb c# .net中
word
对象描述
有关的vb、c#中的
word
对象,现在上传上去共享下,application,
document
s,range等等的对象的方法介绍和理解!
word
转pdf,你终于找到有用的了。
word
转pdf,你终于找到有用的了,保证一看便懂。
vb操作
word
2003的例子
一、新建
Word
引用 需要首先创建一个对
Word
Application 对象的引用。在VBA中,工具-引用,选取“MicroSoft
Word
11.0 Object Library”。 方法一、New
Word
.Application Dim
Word
app As
Word
.Application Set
Word
app = New
Word
.Application
Word
app.Visible = True '可见 '
Word
app.ScreenUpdating =False '屏幕刷新 Dim
Word
D As
Word
.
Document
'定义
word
类 Set
Word
D =
Word
app.
Document
s.Add '新建文档 ‘Set
Word
D =
Word
app.
Document
s.open(filename) '打开文档 ……
Word
D.Close '关闭文档 Set
Word
D = Nothing
Word
App.Quit '退出
Word
对象
VB基础类
7,763
社区成员
197,609
社区内容
发帖
与我相关
我的任务
VB基础类
VB 基础类
复制链接
扫一扫
分享
社区描述
VB 基础类
社区管理员
加入社区
获取链接或二维码
近7日
近30日
至今
加载中
查看更多榜单
社区公告
暂无公告
试试用AI创作助手写篇文章吧
+ 用AI写文章