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?

Empfohlene Antworten

Hi Leute!

Wie verweise ich mittels VBA auf einen Zellbereich(A1:A700) in Excel?

[? Worksheet("Tabelle1").Range("Mappe1").Cells) ?]

Mein Problem allgemein:In einer Spalte(x) habe ich Zahlen im 3-steligen

und 4-stelligen Bereich.Die 3-stelligen Zahlen sollen in einer neuen Spalte(y)

wieder übernommen werden und die 4-stelligen sollen

als Zahl 600 ebenfalls in der Spalte(y) dargestellt werden.

Schätz mal mit Len die Länge abzählen lassen.

Bsp: X Y

200 600

2412 600

Versuchs mal so:

------------------------------

Sub test()

Tabelle1.Select

Dim temp As String

For Index = 1 To 700

temp = Range("A" & Index).Value

If Len(temp) = 3 Then

Range("B" & Index).Value = Range("A" & Index).Value

Else

Range("B" & Index).Value = 600

End If

Next

End Sub

------------------------------

------------------

Mfg

Matthias

[Dieser Beitrag wurde von Matze am 22. November 2000 editiert.]

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.