Difference between revisions of "Catalyst 6500 / cisco7600 series Ethernet Module Daughter Cards"

From NesevoWiki
Jump to navigationJump to search
Line 1: Line 1:
{| border = "1"
+
'Delimeter & Formatierungstags
||  
+
Const TabellenBeginn = "{| border = " & """" & "1" & """"
|align="center"|Table A-1 PoE Daughter Card Support 
+
Const TabellenEnde = "|}"
||
+
Const ZeilenStartDelimeter = "|"
||
+
Const ZeilenEndDelimeter = ""
||
+
Const ZeilenTrennzeichen = "|-"
||
+
Const Delimeter = "|"  'SpaltenTrennzeichen
||
+
'-----------------------------------------------------
||
+
Sub Tabelle2Wiki()
||
+
  Dim fHandle, i, j As Integer
||
+
  Dim StartZeile, StartSpalte, EndZeile, EndSpalte As Integer
||
+
  fHandle = FreeFile()
||
+
  StartZeile = Val(InputBox("Ab welcher Zeile soll umgewandelt werden ?", _
||
+
                            "Startzeile - Schritt 1 von 5", "1"))
||
+
  'nach belieben als Zahl eintragen a=1, z=26
||
+
  StartSpalte = Val(InputBox("Ab welcher Spalte soll umgewandelt werden ?" + _
||
+
                    vbCrLf + "(z.B. A=1, Z=26, AG=33)", _
||
+
                    "Startspalte - Schritt 2 von 5", "1"))
||
+
  EndZeile = Val(InputBox("Bis zu welcher Zeile soll umgewandelt werden ?", _
||
+
                            "Endzeile - Schritt 3 von 5", "100"))
||
+
 
||
+
  'nach belieben als Zahl eintragen a=1, z=26, Spalte AG = z+7=33
||
+
  EndSpalte = Val(InputBox("Bis zu welcher Spalte soll umgewandelt werden ?" + _
||
+
                    vbCrLf + "(z.B. A=1, Z=26, AG=33)", _
||
+
                    "Endspalte - Schritt 4 von 5", "26"))
||
+
  DateiName = InputBox("Wie soll die Ausgabedatei heissen (bitte ggf. den Pfad ergänzen) ?", _
||
+
                            "Dateiname - Schritt 5 von 5", "wiki-tabelle.txt") 
|-
+
  Open DateiName For Output As #fHandle
||
+
  Print #fHandle, TabellenBeginn      'Beginn der Tabelle
||
+
  For i = StartZeile To EndZeile
||
+
        For j = StartSpalte To EndSpalte
||
+
            Print #fHandle, ZelleLesen(i, j)
||
+
        Next j
||
+
        Print #fHandle, ZeilenTrennzeichen
||
+
  Next i
||
+
  Print #fHandle, TabellenEnde      'Ende der Tabelle
||
+
  Close #fHandle
||
+
End Sub
||
+
Function ZelleLesen(Zeile, Spalte)
||
+
Dim Inhalt, RGB_Code, FormatierungsTags As Variant
||
+
    '------------------Wenn die Zelle ein datum enthält, entsprechend formatieren------------------------------
||
+
    If VarType(Cells(Zeile, Spalte)) = vbDate Then
||
+
        Inhalt = Format(Cells(Zeile, Spalte), "dd.mm.yyyy")
||
+
    Else
||
+
        Inhalt = Cells(Zeile, Spalte)
||
+
    End If
||
+
    '------------------Wenn Zelle leer, Space einstellen für korrekte Darstellung im Wiki----------------------
||
+
    If Inhalt = "" Then Inhalt = " "
||
+
    '------------------Zeilenumbrüche innerhalb der Zelle durch Space ersetzen---------------------------------
||
+
    While InStr(1, Inhalt, Chr(10)) <> 0
||
+
        Inhalt = Mid(Inhalt, 1, InStr(1, Inhalt, Chr(10)) - 1) & " " & Mid(Inhalt, InStr(1, Inhalt, Chr(10)) + 1)
||
+
    Wend
||
+
    '------------------Textinhalt der Zelle auf Fett bzw. kursiv formatieren------------------------------------
||
+
    If ActiveSheet.Cells(Zeile, Spalte).Font.Bold = vbTrue And ActiveSheet.Cells(Zeile, Spalte) <> "" Then
|-
+
        Inhalt = "'''" & Inhalt & "'''"
||WS-F6K-VPWR=
+
    End If
||Cisco prestandard PoE daughter card for 10/100 and 10/100/1000 Ethernet modules. Provides 48 VDC over Category 5, Category 5e, or Category 6 UTP cable up to 328 feet (100 meters).
+
    If ActiveSheet.Cells(Zeile, Spalte).Font.Italic = vbTrue And ActiveSheet.Cells(Zeile, Spalte) <> "" Then
||•
+
        Inhalt = "''" & Inhalt & "''"
||06.03.2010
+
    End If
||
+
    '------------------Hintergrundfarbe der Zelle in Wiki-Tags umsetzen-----------------------------------------
||
+
    If Hex(ActiveSheet.Cells(Zeile, Spalte).Interior.Color) <> "FFFFFF" Then
||
+
        RGB_Code = Format(Hex(ActiveSheet.Cells(Zeile, Spalte).Interior.Color), "000000")
||
+
        While Len(RGB_Code) < 6
||
+
            RGB_Code = "0" & RGB_Code
||
+
        Wend
||
+
        FormatierungsTags = """" & "style=background-color:#" & RGB_Code & ";" & """"
||
+
    Else
||
+
        FormatierungsTags = ""
||
+
    End If
||
+
    '------------------Horizontale Textausrichtung der Zelle in Wiki-Tags umsetzen------------------------------
||
+
    If ActiveSheet.Cells(Zeile, Spalte).HorizontalAlignment = xlCenter Then
||
+
        FormatierungsTags = "align=" & """" & "center" & """" & FormatierungsTags
||
+
    End If
||
+
    If ActiveSheet.Cells(Zeile, Spalte).HorizontalAlignment = xlRight Then
||
+
        FormatierungsTags = "align=" & """" & "right" & """" & FormatierungsTags
||
+
    End If
||
+
    '------------------Zelleintrag zusammensetzen---------------------------------------------------------------
||
+
    ZelleLesen = Delimeter & FormatierungsTags & Delimeter & Inhalt
||
+
End Function
||
 
||
 
|-
 
||
 
||'''Note '''
 
||WS-X6148-RJ-21
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||The WS-F6K-VPWR and WS-F6K-VPWR-GE PoE daughter cards are not interchangeable between Ethernet modules.
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148-RJ-21V1
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148-RJ-45
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148-RJ-45V1
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6348-RJ-21V1
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6348-RJ-45
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6348-RJ-45V1
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||WS-F6K-VPWR-GE=
 
||Prestandard PoE daughter card for 10/100 and 10/100/1000 Ethernet modules. Provides 48 VDC over Category 5, Category 5e, or Category 6 UTP cable up to 328 feet (100 meters).
 
||•
 
||06.03.2010
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||'''Note '''
 
||WS-X6148-GE-TX
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||The WS-F6K-VPWR and WS-F6K-VPWR-GE PoE daughter cards are not interchangeable between Ethernet modules.
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148V-GE-TX1
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6548-GE-TX
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6548V-GE-TX1
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||WS-F6K-GE48-AF=
 
||IEEE 802.3af-compliant PoE daughter card for 10/100 and 10/100/1000 Ethernet modules. Provides 48 VDC over Category 5, Category 5e, or Category 6 UTP cable up to 328 feet (100 meters).
 
||•
 
||15.04.2010
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148-GE-TX
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148-GE-45AF1
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148A-GE-TX
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148A-GE-45AF1
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6548-GE-TX
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6548-GE-45AF1
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||WS-F6K-FE48X2-AF=
 
||IEEE 802.3af-compliant PoE daughter card for 96-port 10/100 modules. Provides 48 VDC over Category 5, Category 5e, or Category 6 UTP cable up to 328 feet (100 meters).
 
||•
 
||15.04.2010
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148X2-RJ-45
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148X2-45AF1
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6196-RJ-21
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6196-21AF1
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||WS-F6K-48-AF=
 
||IEEE 802.3af-compliant PoE daughter card for 10/100 and 10/100/1000 Ethernet modules. Provides 48 VDC over Category 5, Category 5e, or Category 6 UTP cable up to 328 feet (100 meters).
 
||•
 
||15.04.2010
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148A-RJ-45
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148-GE-TX
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148-GE-45AF1
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148A-GE-TX
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6148A-GE-45AF1
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6548-GE-TX
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||•
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||WS-X6548-GE-45AF1
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
||
 
|-
 
|}
 

Revision as of 14:53, 7 June 2010

'Delimeter & Formatierungstags Const TabellenBeginn = "{| border = " & """" & "1" & """" Const TabellenEnde = "|}" Const ZeilenStartDelimeter = "|" Const ZeilenEndDelimeter = "" Const ZeilenTrennzeichen = "|-" Const Delimeter = "|" 'SpaltenTrennzeichen '----------------------------------------------------- Sub Tabelle2Wiki()

 Dim fHandle, i, j As Integer
 Dim StartZeile, StartSpalte, EndZeile, EndSpalte As Integer
 fHandle = FreeFile()
 StartZeile = Val(InputBox("Ab welcher Zeile soll umgewandelt werden ?", _
                           "Startzeile - Schritt 1 von 5", "1"))
 'nach belieben als Zahl eintragen a=1, z=26
 StartSpalte = Val(InputBox("Ab welcher Spalte soll umgewandelt werden ?" + _
                   vbCrLf + "(z.B. A=1, Z=26, AG=33)", _
                   "Startspalte - Schritt 2 von 5", "1"))
 EndZeile = Val(InputBox("Bis zu welcher Zeile soll umgewandelt werden ?", _
                           "Endzeile - Schritt 3 von 5", "100"))
 
 'nach belieben als Zahl eintragen a=1, z=26, Spalte AG = z+7=33
 EndSpalte = Val(InputBox("Bis zu welcher Spalte soll umgewandelt werden ?" + _
                   vbCrLf + "(z.B. A=1, Z=26, AG=33)", _
                   "Endspalte - Schritt 4 von 5", "26"))
 DateiName = InputBox("Wie soll die Ausgabedatei heissen (bitte ggf. den Pfad ergänzen) ?", _
                           "Dateiname - Schritt 5 von 5", "wiki-tabelle.txt")   
 Open DateiName For Output As #fHandle
  Print #fHandle, TabellenBeginn      'Beginn der Tabelle
  For i = StartZeile To EndZeile
       For j = StartSpalte To EndSpalte
           Print #fHandle, ZelleLesen(i, j)
       Next j
       Print #fHandle, ZeilenTrennzeichen
  Next i
 Print #fHandle, TabellenEnde      'Ende der Tabelle
 Close #fHandle

End Sub Function ZelleLesen(Zeile, Spalte) Dim Inhalt, RGB_Code, FormatierungsTags As Variant

   '------------------Wenn die Zelle ein datum enthält, entsprechend formatieren------------------------------
   If VarType(Cells(Zeile, Spalte)) = vbDate Then
       Inhalt = Format(Cells(Zeile, Spalte), "dd.mm.yyyy")
   Else
       Inhalt = Cells(Zeile, Spalte)
   End If
   '------------------Wenn Zelle leer, Space einstellen für korrekte Darstellung im Wiki----------------------
   If Inhalt = "" Then Inhalt = " "
   '------------------Zeilenumbrüche innerhalb der Zelle durch Space ersetzen---------------------------------
   While InStr(1, Inhalt, Chr(10)) <> 0
       Inhalt = Mid(Inhalt, 1, InStr(1, Inhalt, Chr(10)) - 1) & " " & Mid(Inhalt, InStr(1, Inhalt, Chr(10)) + 1)
   Wend
   '------------------Textinhalt der Zelle auf Fett bzw. kursiv formatieren------------------------------------
   If ActiveSheet.Cells(Zeile, Spalte).Font.Bold = vbTrue And ActiveSheet.Cells(Zeile, Spalte) <> "" Then
       Inhalt = "" & Inhalt & ""
   End If
   If ActiveSheet.Cells(Zeile, Spalte).Font.Italic = vbTrue And ActiveSheet.Cells(Zeile, Spalte) <> "" Then
       Inhalt = "" & Inhalt & ""
   End If
   '------------------Hintergrundfarbe der Zelle in Wiki-Tags umsetzen-----------------------------------------
   If Hex(ActiveSheet.Cells(Zeile, Spalte).Interior.Color) <> "FFFFFF" Then
       RGB_Code = Format(Hex(ActiveSheet.Cells(Zeile, Spalte).Interior.Color), "000000")
       While Len(RGB_Code) < 6
           RGB_Code = "0" & RGB_Code
       Wend
       FormatierungsTags = """" & "style=background-color:#" & RGB_Code & ";" & """"
   Else
       FormatierungsTags = ""
   End If
   '------------------Horizontale Textausrichtung der Zelle in Wiki-Tags umsetzen------------------------------
   If ActiveSheet.Cells(Zeile, Spalte).HorizontalAlignment = xlCenter Then
       FormatierungsTags = "align=" & """" & "center" & """" & FormatierungsTags
   End If
   If ActiveSheet.Cells(Zeile, Spalte).HorizontalAlignment = xlRight Then
       FormatierungsTags = "align=" & """" & "right" & """" & FormatierungsTags
   End If
   '------------------Zelleintrag zusammensetzen---------------------------------------------------------------
   ZelleLesen = Delimeter & FormatierungsTags & Delimeter & Inhalt

End Function