首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >将Lotus Notes文档导出为CSV和Excel文件

将Lotus Notes文档导出为CSV和Excel文件
EN

Stack Overflow用户
提问于 2012-05-25 14:25:25
回答 3查看 13.9K关注 0票数 0

谁能建议我哪种方法(freefile或ole对象创建)可以有效地将lotus notes文档导出为CSV和Excel文件?

EN

回答 3

Stack Overflow用户

发布于 2012-05-30 18:07:47

我也使用公式导出为csv和excel。

@Command(FileExport;“逗号分隔值”;"c:\text.csv")

票数 3
EN

Stack Overflow用户

发布于 2012-05-27 00:36:40

高效?使用NotesDXLExporter导出到DXL/XML。参见link。容易吗?在视图中选择文档,然后使用文件/导出、另存为类型:逗号分隔值。您可以使用需要导出的数据准备自己的视图。

票数 1
EN

Stack Overflow用户

发布于 2012-05-29 16:24:56

我得到了以下用于导出CSV文件的简单代码。

[Link]

代码语言:javascript
运行
复制
fileNum% = Freefile()
Open filename For Output As fileNum%

' use the view column titles as the CSV headers
Forall c In view.Columns
    If cns = "" Then    
        cns = c.title
    Else
        cns = cns + +","  + c.title         
    End If
End Forall      
Print #fileNum%, cns


 ' now get and print the values for each row and column
Set vc = view.AllEntries
Set entry = vc.GetFirstEntry()
While Not entry Is Nothing 
    rowstring = ""
    Forall colval In entry.ColumnValues
        If rowstring = "" Then
            rowstring = colval
        Else
            rowstring = rowstring + +","  + colval
        End If          
    End Forall
    Print #fileNum%, rowstring
    Set entry = vc.GetNextEntry(entry)
Wend
Close fileNum%
票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/10749499

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档