04.08.2017, 19:39
(Dieser Beitrag wurde zuletzt bearbeitet: 04.08.2017, 19:40 von hellownero.)
[Bild: File-Copy-icon.png]
__________________________________________________________________
="WENNFEHLER(LINKS(A10;FINDEN(ZEICHEN(10);A10)-1);A10)"
English: =IFERROR(LEFT(A10;FIND(CHAR(10);A10)-1);A10)
_________________________________________________________________-
Hello guys[img]
Dateiupload bitte im Forum! So geht es: Klick mich!
, Arial, Tahoma, Calibri, Geneva, sans-serif] I want to implement this formula in my vba code above....[/font][/size]
The code is using the advanced filter to create a table on an extra worksheet from a list on an other worksheet. It only displays the data which is fitting my criteria. It creates this: (1st picture)
imgur.com/a/gz6WZ (Das ist der Link zu den Bildern)
I can use the formula I displayed in german and english to transform my cells from picture 1 to the table in picture 2. What it does: The formula is just creating a cell with the first line of the linked cell.
I want to activate both things at the same time with a macro giving me just picture 2 as an output.
Can anyone help me?
Kind regards
hellownero
Code:
Sub filteradvan()
Sheets("Hirata Bestellformular").Range("Tabelle3[[#Headers],[#Data]]"). _
AdvancedFilter Action:=xlFilterCopy, CriteriaRange:=Range( _
"Tabelle1!Criteria"), CopyToRange:=Range("A7:A8"), Unique:=False
End Sub
__________________________________________________________________
="WENNFEHLER(LINKS(A10;FINDEN(ZEICHEN(10);A10)-1);A10)"
English: =IFERROR(LEFT(A10;FIND(CHAR(10);A10)-1);A10)
_________________________________________________________________-
Hello guys[img]
Dateiupload bitte im Forum! So geht es: Klick mich!
, Arial, Tahoma, Calibri, Geneva, sans-serif] I want to implement this formula in my vba code above....[/font][/size]
The code is using the advanced filter to create a table on an extra worksheet from a list on an other worksheet. It only displays the data which is fitting my criteria. It creates this: (1st picture)
imgur.com/a/gz6WZ (Das ist der Link zu den Bildern)
I can use the formula I displayed in german and english to transform my cells from picture 1 to the table in picture 2. What it does: The formula is just creating a cell with the first line of the linked cell.
I want to activate both things at the same time with a macro giving me just picture 2 as an output.
Can anyone help me?
Kind regards
hellownero