Thema Datum  Von Nutzer Rating
Antwort
15.12.2012 16:23:03 David
****
NotSolved
16.12.2012 19:52:53 Jürgen
NotSolved
17.12.2012 20:50:08 micha
NotSolved
18.12.2012 12:59:54 Peter
NotSolved
18.12.2012 13:03:20 Zwegert, Peter
NotSolved
18.12.2012 13:03:22 Zwegert, Peter
*****
Solved
18.12.2012 13:03:24 Zwegert, Peter
NotSolved
18.12.2012 13:02:32 Stefan B
NotSolved
18.12.2012 13:13:51 Stefan B
NotSolved
18.12.2012 18:30:40 aaa
NotSolved
18.12.2012 18:33:13 dieter
NotSolved
18.12.2012 18:34:02 penis
NotSolved
18.12.2012 18:35:04 eee
NotSolved
18.12.2012 18:35:55 dgdgd
NotSolved
18.12.2012 18:36:35 sdsd
Solved
Blau spiegeln
18.12.2012 18:37:19 dhdshsd
NotSolved
18.12.2012 18:49:06 Andreas K.
*****
NotSolved
18.12.2012 21:44:20 Andreas K.
NotSolved
18.12.2012 22:57:25 Andreas K.
NotSolved
18.12.2012 22:36:48 Axel Schweiß
NotSolved
18.12.2012 22:37:04 manfred
*****
NotSolved
18.12.2012 22:42:16 hanni
NotSolved
18.12.2012 23:02:00 uwe
NotSolved
20.12.2012 18:56:00 fritz
NotSolved

Ansicht des Beitrags:
Von:
dhdshsd
Datum:
18.12.2012 18:37:19
Views:
1471
Rating: Antwort:
  Ja
Thema:
spiegeln

 

Option Explicit
Sub Spiegel()
Dim eingabeZ As Byte
Dim eingabeS
Dim zeile As Byte
Dim spalte As Byte
Dim d As Byte
 
eingabeZ = InputBox("Zeilenanzahl?")
eingabeS = InputBox("Spaltenanzahl?")
d = eingabeS * 2
Do
    zeile = zeile + 1
   
 
    For spalte = 1 To eingabeS
        ActiveWorkbook.Worksheets(1).Cells(zeile, d) = ActiveWorkbook.Worksheets(1).Cells(zeile, spalte)
        d = d - 1
    Next spalte
    
    d = eingabeS * 2
    spalte = 1
 
Loop Until zeile = eingabeZ
 
End Sub
 
Sub Spiegel2()
 
Dim eingabeZ As Byte
Dim eingabeS As Byte
Dim zeile As Byte
Dim spalte As Byte
Dim a As Byte
 
eingabeZ = InputBox("Zeilenanzahl?")
eingabeS = InputBox("Spaltenanzahl?")
a = eingabeZ * 2
Do
    zeile = zeile + 1
   
 
    For spalte = 1 To eingabeS
        ActiveWorkbook.Worksheets(1).Cells(a, spalte) = ActiveWorkbook.Worksheets(1).Cells(zeile, spalte)
        
    Next spalte
    a = a - 1
    spalte = 1
 
Loop Until zeile = eingabeZ
 
End Sub
 
 

Ihre Antwort
  • Bitte beschreiben Sie Ihr Problem möglichst ausführlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifügen / nachtragen
  • Codeschnipsel am besten über den Code-Button im Text-Editor einfügen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen
Thema: Name: Email:



  • Bitte beschreiben Sie Ihr Problem möglichst ausführlich. (Wichtige Info z.B.: Office Version, Betriebssystem, Wo genau kommen Sie nicht weiter)
  • Bitte helfen Sie ebenfalls wenn Ihnen geholfen werden konnte und markieren Sie Ihre Anfrage als erledigt (Klick auf Häckchen)
  • Bei Crossposting, entsprechende Links auf andere Forenbeiträge beifügen / nachtragen
  • Codeschnipsel am besten über den Code-Button im Text-Editor einfügen
  • Die Angabe der Emailadresse ist freiwillig und wird nur verwendet, um Sie bei Antworten auf Ihren Beitrag zu benachrichtigen

Thema Datum  Von Nutzer Rating
Antwort
15.12.2012 16:23:03 David
****
NotSolved
16.12.2012 19:52:53 Jürgen
NotSolved
17.12.2012 20:50:08 micha
NotSolved
18.12.2012 12:59:54 Peter
NotSolved
18.12.2012 13:03:20 Zwegert, Peter
NotSolved
18.12.2012 13:03:22 Zwegert, Peter
*****
Solved
18.12.2012 13:03:24 Zwegert, Peter
NotSolved
18.12.2012 13:02:32 Stefan B
NotSolved
18.12.2012 13:13:51 Stefan B
NotSolved
18.12.2012 18:30:40 aaa
NotSolved
18.12.2012 18:33:13 dieter
NotSolved
18.12.2012 18:34:02 penis
NotSolved
18.12.2012 18:35:04 eee
NotSolved
18.12.2012 18:35:55 dgdgd
NotSolved
18.12.2012 18:36:35 sdsd
Solved
Blau spiegeln
18.12.2012 18:37:19 dhdshsd
NotSolved
18.12.2012 18:49:06 Andreas K.
*****
NotSolved
18.12.2012 21:44:20 Andreas K.
NotSolved
18.12.2012 22:57:25 Andreas K.
NotSolved
18.12.2012 22:36:48 Axel Schweiß
NotSolved
18.12.2012 22:37:04 manfred
*****
NotSolved
18.12.2012 22:42:16 hanni
NotSolved
18.12.2012 23:02:00 uwe
NotSolved
20.12.2012 18:56:00 fritz
NotSolved