admin管理员组

文章数量:1565370

2024年3月29日发(作者:)

Tools>Execute Commands>Edit/Run Script

脚本

Option Explicit

ValidationMode = True

InteractiveMode = im_Batch

Dim blankStr

blankStr = Space(1)

Dim mdl ' the current model

' get the current active model

Set mdl = ActiveModel

If (mdl Is Nothing) Then

MsgBox "There is no current Model "

ElseIf Not Of(_Model) Then

MsgBox "The current model is not an Physical Data model. "

Else

ProcessFolder mdl

End If

Private sub ProcessFolder(folder)

On Error Resume Next

Dim Tab 'running table

for each Tab in

if not tcut then

Dim col ' running column

for each col in s

if t = "" or replace(t," ", "")="" Then

type = blankStr

blankStr = blankStr & Space(1)

else

type = t

end if

next

end if

本文标签: 显示备注