请教专家:针对以下内联树命令格式表格All_Bom0内容格式化后,
Dim st As New InlineTreeSetting
st.ParentCol = "locate"
st.ChildCol = "fid"
st.SortCol = "sKey0"
st.ExpandTo = 1
st.UseStyle = True
st.TreeCol = "ITEM_CODE"
Tables("All_Bom0").ShowGridTree(st)
目的:
Dim Book As
New
XLS.Book(ProjectPath
&
"Attachments\BOM_List.xls")
Dim
fl As String = ProjectPath
&
"Reports\BOM_List.xls"
Book.Build() '生成细节区
Book.Save(fl) '保存工作簿
Dim Proc As New
Process
'打开工作簿
Proc.File =
fl
Proc.Start()
将All_Bom0表格内容全部导出到Excel表后,
如何让Excel表中的内容继续保持内联树格式?
感谢专家!
[此贴子已经被作者于2023/3/19 16:27:57编辑过]