vb@rchiv
VB Classic
VB.NET
ADO.NET
VBA
C#
Mails senden, abrufen und decodieren - ganz easy ;-)  
 vb@rchiv Quick-Search: Suche startenErweiterte Suche starten   Impressum  | Datenschutz  | vb@rchiv CD Vol.6  | Shop Copyright ©2000-2025
 
zurück

 Sie sind aktuell nicht angemeldet.Funktionen: Einloggen  |  Neu registrieren  |  Suchen

Suche Visual-Basic Code
Re: Tabelle in XML umwandeln 
Autor: gaschi14
Datum: 22.04.08 11:23

'*****************************************************************
'* Root Element
'*****************************************************************
 
    Set xmlTableElement = xml.createElement("Table")
    xml.appendChild xmlTableElement
 
    subxmlAttribute "NewPage", "Yes", xmlTableElement
 
    subxmlWaveAnchorElement xmlTableElement
    subxmlTitleElement strStrtCell, intLabel, xmlTableElement
 
    blFootnote1 = False
 
    subS_TableElement strStrtCell, intCols
    subS_HeadElement strStrtCell, intCols, blFootnote1
 
    xml.Save strFileName
    MsgBox "XML Export has been completed"
 
End Sub
Sub subS_TableElement(ByVal strStrtCell As String, ByVal intCols As Integer)
 
'*****************************************************************
'* Standard Table Element
'*****************************************************************
    Dim intColNo As Integer
    Dim col As Integer
    Dim intProductCol As Single
    Dim strColSize As String
    Dim strAttributeText As String
 
    Set xmlS_TableElement = xml.createElement("S_Table")
    xmlTableElement.appendChild xmlS_TableElement
 
    subxmlAttribute "cols", intCols, xmlS_TableElement
    subxmlAttribute "colsep", "1", xmlS_TableElement
    subxmlAttribute "rowsep", "1", xmlS_TableElement
    intColNo = intCols - 3
    intProductCol = (17.5 - strSymbol - strUnits - strNote) / intColNo
    For col = 1 To intColNo
        strColSize = strColSize + CStr(intProductCol) + "cm "
    Next
 
    strAttributeText = CStr(strSymbol) & "cm " & strColSize & " " & CStr( _
      strUnits) & "cm " & CStr(strNote) & "cm "
    subxmlAttribute "cwidths", strAttributeText, xmlS_TableElement
 
End Sub
Sub subS_HeadElement(ByVal strStrtCell As String, ByVal intCols As Integer, _
  ByVal blFootnote1 As Boolean)
alle Nachrichten anzeigenGesamtübersicht  |  Zum Thema  |  Suchen

 ThemaViews  AutorDatum
Tabelle in XML umwandeln3.158gaschi1422.04.08 11:21
Re: Tabelle in XML umwandeln1.555gaschi1422.04.08 11:21
Re: Tabelle in XML umwandeln1.385gaschi1422.04.08 11:23
Re: Tabelle in XML umwandeln1.350gaschi1422.04.08 11:24
Re: Tabelle in XML umwandeln1.345gaschi1422.04.08 11:25
Re: Tabelle in XML umwandeln1.296gaschi1422.04.08 11:26
Re: Tabelle in XML umwandeln1.307gaschi1422.04.08 11:27
Re: Tabelle in XML umwandeln1.275gaschi1422.04.08 11:27
Re: Tabelle in XML umwandeln1.355gaschi1422.04.08 11:27
Re: Tabelle in XML umwandeln1.362gaschi1422.04.08 11:28
Re: Tabelle in XML umwandeln1.347gaschi1422.04.08 11:28
Re: Tabelle in XML umwandeln1.357gaschi1422.04.08 11:29
Re: Tabelle in XML umwandeln1.325gaschi1422.04.08 11:29
Re: Tabelle in XML umwandeln1.322gaschi1422.04.08 11:30
Re: Tabelle in XML umwandeln1.411gaschi1422.04.08 11:30

Sie sind nicht angemeldet!
Um auf diesen Beitrag zu antworten oder neue Beiträge schreiben zu können, müssen Sie sich zunächst anmelden.

Einloggen  |  Neu registrieren

Funktionen:  Zum Thema  |  GesamtübersichtSuchen 

nach obenzurück
 
   

Copyright ©2000-2025 vb@rchiv Dieter Otter
Alle Rechte vorbehalten.
Microsoft, Windows und Visual Basic sind entweder eingetragene Marken oder Marken der Microsoft Corporation in den USA und/oder anderen Ländern. Weitere auf dieser Homepage aufgeführten Produkt- und Firmennamen können geschützte Marken ihrer jeweiligen Inhaber sein.

Diese Seiten wurden optimiert für eine Bildschirmauflösung von mind. 1280x1024 Pixel