forked from WohnungNDS/IM_Data
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #42 from christoph-LSN/develop
3-1-1 4-1-1 4-1-4 4-1-6
- Loading branch information
Showing
9 changed files
with
14,941 additions
and
12,617 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
Attribute VB_Name = "Modul2" | ||
Sub ZeileNachUntenZiehen() | ||
Dim selectedRow As Integer | ||
Dim Zeilen As Integer | ||
|
||
' Überprüfen, ob eine Zeile ausgewählt ist | ||
If Selection.Rows.Count <> 1 Then | ||
MsgBox "Bitte wählen Sie genau eine Zeile aus, die Sie nach unten ziehen möchten.", vbExclamation | ||
Exit Sub | ||
End If | ||
|
||
Zeilen = InputBox("Anzahl Zeilen", "Zeilen") | ||
|
||
' Die ausgewählte Zeile ermitteln | ||
selectedRow = Selection.Row | ||
|
||
' Die ausgewählte Zeile 50-mal nach unten kopieren | ||
Rows(selectedRow & ":" & selectedRow).Copy | ||
Rows(selectedRow + 1 & ":" & selectedRow + Zeilen).Insert Shift:=xlDown | ||
Application.CutCopyMode = False | ||
|
||
'Zur lezte Zeile gehen | ||
Cells(selectedRow + Zeilen, 1).Select | ||
|
||
|
||
|
||
|
||
End Sub |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters