AW: schau Dir mein Bsp. an ...
02.02.2017 09:44:56
Moritz
Jetzt habe ich doch noch eine Frage. Ich habe mir noch gedacht, dass es praktische wäre wenn man den Button in Tabelle 2 gedrückt hat, dass man automatisch in Tabelle 1 geleitet wird zum markieren. Und nach der Bestätigung wieder zurück in Tabelle 2.
Option Explicit
Sub kopieren1()
Dim Bereich
Application.DisplayAlerts = False
On Error GoTo Abbruch
If ActiveSheet.Name = "Tabelle 2" Then
Sheehts("Tabelle 1").Select And
Set Bereich = Application.InputBox("Please got to the tab ELINK (2) and mark the outputs for " & _
vbLf & "base load operation", , , , , , , 8)
Bereich.Copy Destination:=Range("C6")
MsgBox "base load data are copied "
Abbruch:
Application.DisplayAlerts = True
End if
End Sub
leider funktioniert das nicht. Ist das einfach falsch was ich gemacht habe oder habe ich einen Denkfehler?
Viele Grüße
Moritz