Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[vba] Excel Tabellenblatt kopieren

Empfohlene Antworten

Hi @ all,

ich muss ein Makro schreiben, dass ein Tabellenblatt kopiert. Das ist ja auch nicht das Problem. Nur soll das neue Tabellenblatt keine Funktionen mehr enthalten, sondern nur die Werte und die Formatierungen (Zeilenhöhe, Zeilenbreite, Farbe, etc.) sollen auch bebehalten werden.

Wie stelle ich das am besten an?

ok habs gerade selber gelösst...

Für alle die irgendwann mal das selbe Problem haben hier der Code:


        Worksheets("Test").Activate

        Range("A1").Activate

        Cells.Select

        Selection.Copy


        Worksheets("Kopie von Test").Activate

        Range("A1").Activate

        With ActiveWorkbook.ActiveSheet.Cells

            .PasteSpecial Paste:=xlPasteValues ' Werte

            .PasteSpecial Paste:=xlFormats ' Formate

        End With


        ActiveWindow.DisplayGridlines = False

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.