Live-Forum - Die aktuellen Beiträge
Anzeige
Archiv - Navigation
648to652
Aktuelles Verzeichnis
Verzeichnis Index
Übersicht Verzeichnisse
Vorheriger Thread
Rückwärts Blättern
Nächster Thread
Vorwärts blättern
Anzeige
HERBERS
Excel-Forum (Archiv)
20+ Jahre Excel-Kompetenz: Von Anwendern, für Anwender
648to652
648to652
Aktuelles Verzeichnis
Verzeichnis Index
Verzeichnis Index
Übersicht Verzeichnisse
Inhaltsverzeichnis

NumberFormat = "000"

NumberFormat = "000"
12.08.2005 07:55:32
Josef
Hallo!
Wo setze ich hier bitte den .NumberFormat = "000" Befehl
With Sheets("Binf neu (2)")
.Cells(Range("AE65536").End(xlUp).Row + 1, 31).Value = fBHZ.bhztxt6.Text
.Cells(Range("AF65536").End(xlUp).Row + 1, 32).Value = fBHZ.bhztxt7.Text
.Cells(Range("AG65536").End(xlUp).Row + 1, 33).Value = fBHZ.bhztxt8.Text
.Cells(Range("AH65536").End(xlUp).Row + 1, 34).Value = fBHZ.bhztxt9.Text
.Cells(Range("AI65536").End(xlUp).Row + 1, 35).Value = fBHZ.bhztxt10.Text
.Cells(Range("AJ65536").End(xlUp).Row + 1, 36).Value = fBHZ.bhztxt11.Text
.Cells(Range("AK65536").End(xlUp).Row + 1, 37).Value = fBHZ.bhztxt12.Text
.Cells(Range("AL65536").End(xlUp).Row + 1, 38).Value = fBHZ.bhztxt13.Text
.Cells(Range("AM65536").End(xlUp).Row + 1, 39).Value = fBHZ.bhztxt14.Text
.Cells(Range("AN65536").End(xlUp).Row + 1, 40).Value = fBHZ.bhztxt15.Text
.Cells(Range("AO65536").End(xlUp).Row + 1, 41).Value = fBHZ.bhztxt16.Text
.Cells(Range("AP65536").End(xlUp).Row + 1, 42).Value = fBHZ.bhztxt17.Text
End With
Danke
Josef

8
Beiträge zum Forumthread
Beiträge zu diesem Forumthread

Betreff
Datum
Anwender
Anzeige
AW: NumberFormat = "000"
12.08.2005 08:07:06
Ottoh
Hallo Josef,
versuch's mal hiermit: =Text(fBHZ.bhztxt6.Text,"000") oder
=Text(fBHZ.bhztxt6.Value,"000")
Gruß OttoH
AW: NumberFormat = "000"
12.08.2005 08:10:27
Josef
Hallo Otto!
Danke für Deine Antwort.
Funktioniert leider nicht.
Josef
AW: NumberFormat = "000"
12.08.2005 08:30:26
ottoh
Hallo Josef,
dann lade die Datei mal hoch.
Gruß OttoH
AW: NumberFormat = "000"
12.08.2005 09:02:06
OttoH
Hallo Josef,
bekomme die Datei leider nicht zum Laufen; offensichtlich fehlen da noch einige andere Dateien.
Tut mir Leid.
Gruß OttoH
AW: NEUER VERSUCH
12.08.2005 10:51:26
IngGi
Hallo Josef,
anstatt der Eingabewerte musst du die Eingabezellen formatieren:
With Sheets("Binf neu (2)")
Range(.Cells(Range("AE65536").End(xlUp).Row + 1, 31), _
.Cells(Range("AP65536").End(xlUp).Row + 1, 42)).NumberFormat = "000"

.Cells(Range("AE65536").End(xlUp).Row + 1, 31).Value = fBHZ.bhztxt6.Text
.Cells(Range("AF65536").End(xlUp).Row + 1, 32).Value = fBHZ.bhztxt7.Text
.Cells(Range("AG65536").End(xlUp).Row + 1, 33).Value = fBHZ.bhztxt8.Text
.Cells(Range("AH65536").End(xlUp).Row + 1, 34).Value = fBHZ.bhztxt9.Text
.Cells(Range("AI65536").End(xlUp).Row + 1, 35).Value = fBHZ.bhztxt10.Text
.Cells(Range("AJ65536").End(xlUp).Row + 1, 36).Value = fBHZ.bhztxt11.Text
.Cells(Range("AK65536").End(xlUp).Row + 1, 37).Value = fBHZ.bhztxt12.Text
.Cells(Range("AL65536").End(xlUp).Row + 1, 38).Value = fBHZ.bhztxt13.Text
.Cells(Range("AM65536").End(xlUp).Row + 1, 39).Value = fBHZ.bhztxt14.Text
.Cells(Range("AN65536").End(xlUp).Row + 1, 40).Value = fBHZ.bhztxt15.Text
.Cells(Range("AO65536").End(xlUp).Row + 1, 41).Value = fBHZ.bhztxt16.Text
.Cells(Range("AP65536").End(xlUp).Row + 1, 42).Value = fBHZ.bhztxt17.Text
End With
Gruß Ingolf
Anzeige
AW: NEUER VERSUCH
12.08.2005 11:03:08
Josef
Hallo Ingolf!
Besten Dank. Funktioniert bereits.
Übrigends gestern. Dein Makro funktionierte doch nach einer Änderung beim Aufruf der fBHZ. Danke nochmals dafür.
Josef

300 Forumthreads zu ähnlichen Themen

Anzeige
Anzeige

Beliebteste Forumthreads (12 Monate)

Anzeige

Beliebteste Forumthreads (12 Monate)

Anzeige
Anzeige
Anzeige