Makro

Excel77777

New Member
Joined
Sep 26, 2024
Messages
5
Office Version
  1. 365
Platform
  1. Windows
Hallo,

Ich habe ein einfaches Makro erstellt- über eine selbsterstellte Formulareingabe sollen die eingegebenen Werte in eine Tabelle übertragen werden. Das Makro funktioniert leider nicht. Was bedeutet der nachfolgende Fehler? Wie könnte man das Problem lösen?

1727874262811.png
 
(translated by translate.google.com)
Sie können den gesamten im Bild hervorgehobenen Block durch diese Zeilen ersetzen:
VBA Code:
Dim Aux As Worksheet, Tabl As Worksheet

Set Aux = Sheets("hilfstabelle")
Set Tabl = Sheets("Tabelle1")

Tabl.Cells(Rows.Count, "A").End(xlUp).Offset(1, 0).Value = Aux.Range("B2").Value    'Not sure you are in col. A
Tabl.Cells(Rows.Count, "A").End(xlUp).Offset(1, 0).Value = Aux.Range("B3").Value    'Not sure you are in col. A

Tabl.Range("B27,B29,D29").ClearContents
Ich vermute, dass auch die Zeilen, die in Ihrem Bild nicht gezeigt werden, ähnlich übersetzt werden können.
 

Attachments

  • Immagine 2024-11-10 183024.jpg
    Immagine 2024-11-10 183024.jpg
    34.8 KB · Views: 4
Upvote 0

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).

Forum statistics

Threads
1,224,454
Messages
6,178,765
Members
452,875
Latest member
Disastrouscoder

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top