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 Mappe im Hintergrund öffnen

Empfohlene Antworten

Mit

Application.Workbooks.Open("C:\datei.xls")

kann man eine Arbeitsmappe öffnen. Wie mach ich das, dass diese im Hintergrund geöffnet wird?

Danke für eure Antworten.

hm, das könnte schwierig werden. Wie ich dich verstehe, willst du aus einem Excel heraus eine zweite Datei erstellen, aber eben unsichtbar.

Dummerweise sitzt das .Visible - Attribut auf dem Application - Objekt, so dass dein ganzes Excel verschwinden würde.

Im Grunde müsstest Du ein neues Excel-Objekt erstellen für das neue Workbook, dummerweise lässt das das System nicht zu aus einem Makro heraus ( Fehlermeldung "Objekterstellung aus ActiveX heraus nicht erlaubt" oder so ähnlich )

Gruss

Thoralf

Sowas hab ich schonmal gemacht, das Excel wird geladen und wie gewünscht befüllt und wenn das fertig ist kannst du das visible auf true setzten, es bleibt halt das ganze excel versteckt bis du das atribut umsetzt, wenn du willst kann ich dir mal ein beispiel geben.

  • 2 Wochen später...

Danke für eure Antworten. Ich habs so gelöst.

Application.Workbooks("name").Activate

Application.ActiveWindow.Visible = False

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.