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.

speicherung einer datei ohne formeln

Empfohlene Antworten

Veröffentlicht

Hallo Ihr,

Ich versuche eine vorhandene datei unter einem anderen namen zu speichern und dann ohne formeln zu speichern.

Private Function dateikopieren(Ausgangspfad As String, Datum As String) As Boolean

    Dim xlAnw As Object    ' Variable für Verweis deklarieren.

    Dim fName As String

    Dim bolReturn   As Boolean


    bolReturn = True


    Set xlAnw = CreateObject("excel.application")


    Set xlAnw = GetObject(Ausgangspfad & "\Vorlage.xls")

    'Anwendung wird gezeigt

    xlAnw.Application.Visible = True

    xlAnw.Parent.Windows(1).Visible = True


    fName = Ausgangspfad & "\Ergebnisse\Übersicht Sicherheitskennzeichen " & Datum & ".xls"

    xlAnw.SaveAs Filename:=fName

    xlAnw.Application.Save

    xlAnw.Application.Quit


    Set xlAnw = GetObject(Ausgangspfad & "\Ergebnisse\Übersicht Sicherheitskennzeichen " & Datum & ".xls")

    'Anwendung wird gezeigt

    xlAnw.Application.Visible = True

    xlAnw.Parent.Windows(1).Visible = True

    xlAnw.Application.Run "FormelnWeg"

    xlAnw.Windows(Ausgangspfad & "\Ergebnisse\Übersicht Sicherheitskennzeichen " & Datum & ".xls").Close SaveChanges:=True

    xlAnw.Application.Quit


    Set xlAnw = Nothing


Exit_dateikopieren:

    dateikopieren = bolReturn

    Exit Function

Err_dateikopieren:

  bolReturn = False

  Resume Exit_dateikopieren

End Function

Das Makro "FormelnWeg" funktioniert super, hab es im Excel manuell angestoßen...

LG

Das Makro "FormelnWeg" funktioniert super, hab es im Excel manuell angestoßen...

das ist schön :) was war die frage? oder ist das dein beitrag zu einer codeschnipselsammlung?

s'Amstel

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.