admin管理员组文章数量:1534214
2024年5月1日发(作者:)
Powerdesigner模型导出到excel:格式更好看,如下
在Powerdesigner中按Shift+Ctrl+X呼出脚本运行界面复制下面代码RUN即可:
'******************************************************************************
'* File:
'* Title: pdm export to excel
'* Purpose: To export the tables and columns to Excel
'* Model: Physical Data Model
'* Objects: Table, Column, View
'* Author: dutao
'* Created: 2016-09-18
'* Version: 1.0
'******************************************************************************
Option Explicit
Dim rowsNum
rowsNum = 0
'-----------------------------------------------------------------------------
' Main function
'-----------------------------------------------------------------------------
' Get the current active model
Dim Model
Set Model = ActiveModel
If (Model Is Nothing) Or (Not Of(_Model)) Then
MsgBox "The current model is not an PDM model."
Else
' Get the tables collection
版权声明:本文标题:Powerdesigner模型导出到excel 内容由热心网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:https://m.elefans.com/dianzi/1714523556a409250.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论