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.

Dynamische EIngabe von Tabellennamen in Excel-Diagrammen

Empfohlene Antworten

Moin,

ich habe ein Diagramm erstellt und das dann mit Cut'n'Paste in mein anderes Makro implementiert:

Columns("B:K").Select

Charts.Add

ActiveChart.ChartType = xlLine

ActiveChart.SeriesCollection(1).XValues = "=&strTabname!C1"

ActiveChart.SeriesCollection(2).XValues = "=&strTabName!C1"

ActiveChart.SeriesCollection(3).XValues = "=&strTabName!C1"

ActiveChart.SeriesCollection(4).XValues = "=&strTabName!C1"

ActiveChart.SeriesCollection(5).XValues = "=&strTabName!C1"

ActiveChart.SeriesCollection(6).XValues = "=&strTabName!C1"

ActiveChart.SeriesCollection(7).XValues = "=&strTabName!C1"

ActiveChart.SeriesCollection(8).XValues = "=&strTabName!C1"

ActiveChart.SeriesCollection(9).XValues = "=&strTabName!C1"

ActiveChart.SeriesCollection(10).XValues = "=&strTabName!C1"

ActiveChart.Location Where:=xlLocationAsNewSheet

With ActiveChart

.HasTitle = True

.ChartTitle.Characters.Text = "Test-Diagramm"

.Axes(xlCategory, xlPrimary).HasTitle = True

.Axes(xlCategory, xlPrimary).AxisTitle.Characters.Text = "Time in minutes"

.Axes(xlValue, xlPrimary).HasTitle = False

End With

ActiveChart.PlotArea.Select

With Selection.Border

.ColorIndex = 16

.Weight = xlThin

.LineStyle = xlContinuous

End With

Selection.Interior.ColorIndex = xlNone

ActiveChart.Deselect

Das also der Code. Wie kann ich nun einen Dynamischen Namen , also über die Variable strTabName, in dien Code implementieren.

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.