-
FlexPro
- At a Glance
- Features & Options
- Applications
- All Advantages
- What’s New in FlexPro 2021
- Try FlexPro For Free
- FlexPro View OEM Freeware
- Buying Guide
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
- Products
- News
- Support
- Company
- Contact
- Login
- Language
-
-
-
- +49 6894 929600
- infoweisang.com
- Google Maps
Home > Community > Automation and VBA > 2D_Diagramm mit VBA in Excel Tabelle einfügen > Reply To: 2D_Diagramm mit VBA in Excel Tabelle einfügen

Hi Mario,
the following approach can be adopted:
Option Explicit
Public Sub ParseFlexProDatabase()
ProcessFolder ThisDatabase.RootFolder
End Sub
Private Sub ProcessFolder(ByRef oFld As Folder)
' versteckte Ordner (wie den Vorlagenordner) überspringen
' skip hidden folders (like the template folder)
Dim sExportFolderPath As String
sExportFolderPath = "D:\Export\"
If Not oFld.Hidden Then
Dim oObjs As FpObjects
Dim oObj As FpObject
Set oObjs = oFld.Objects()
For Each oObj In oObjs
If (oObj.ObjectType = fpObjectType2DDiagram) Or _
(oObj.ObjectType = fpObjectTypeColumnTable) Or _
(oObj.ObjectType = fpObjectTypeCellTable) Then
oObj.Export fpExportFormatJPEG, sExportFolderPath & Replace(oObj.FullName, "\", "_") & ".jpg"
End If
Next oObj
' Unterordner rekursiv bearbeiten
' Edit subfolders recursively
Set oObjs = oFld.Objects(fpObjectTypeFolder)
Dim oSubFld As Folder
For Each oSubFld In oObjs
ProcessFolder oSubFld
Next
End If
End Sub
BR
Adrian
You are currently viewing a placeholder content from Facebook. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou need to load content from reCAPTCHA to submit the form. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from Instagram. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More InformationYou are currently viewing a placeholder content from X. To access the actual content, click the button below. Please note that doing so will share data with third-party providers.
More Information