G
Guest
Hi everyone and thanks for taking a look and for generally increasing my
knowledge enormously.
But alas not enough.
I wanted to amend Ron's code for all unique values in a column and
successfully made the minor alterations to get it to work, as a start.
However I don't want all unique values I only want them according to
named areas on a separate sheet "DATA" I have and intend to hide before
release. "SheetNames" & "CodeNames"
This contains (among a lot of other stuff) two columns with headers - as
it happens they are Data!N1:N8 (SheetNames) and Adjoining O1:08 (CodeNames)
N2 to N8 contain the worksheet names required
O2 to O8 contain the codes contained in the filter column in the source
sheet.
SheetNames CodeNames
Cash CSH, ATM
Bcard CC1
Capital1 CC2
RBSVisa CC4
RBSVisa CC4
All&Leic CC5
Tesco CC6
Bank DD, STO, OTR, CQ, CC3
I am not sure we can put several codes in one cell?
I would want to delete each sheet name if it is pre-existing
Then the first time round create the sheet Cash and fill in values from
the filtered source sheet.
Easy eh? Well I'm sorry to say that after two days my brain appears to
have melted.
I got as far as creating the sheet with the right name, but code tries to
take the filtered data from the "DATA" worksheet instead of the one
defined.
<rant> I've been database programming since about 1984 and could do this
in an hour with a few SQL statements in visual Foxpro, but no-one wants it
since MickeySoft have killed a perfectly good language.</rant>
Is this enough info to point me in the right direction? Or do I have to
show the world my poor attempt at amending the code.
I must say the help the experts here provide to people like me is the most
impressive thing I have seen about excel. I can't keep pace with the
traffic in here.
regards, Alan
knowledge enormously.
But alas not enough.
I wanted to amend Ron's code for all unique values in a column and
successfully made the minor alterations to get it to work, as a start.
However I don't want all unique values I only want them according to
named areas on a separate sheet "DATA" I have and intend to hide before
release. "SheetNames" & "CodeNames"
This contains (among a lot of other stuff) two columns with headers - as
it happens they are Data!N1:N8 (SheetNames) and Adjoining O1:08 (CodeNames)
N2 to N8 contain the worksheet names required
O2 to O8 contain the codes contained in the filter column in the source
sheet.
SheetNames CodeNames
Cash CSH, ATM
Bcard CC1
Capital1 CC2
RBSVisa CC4
RBSVisa CC4
All&Leic CC5
Tesco CC6
Bank DD, STO, OTR, CQ, CC3
I am not sure we can put several codes in one cell?
I would want to delete each sheet name if it is pre-existing
Then the first time round create the sheet Cash and fill in values from
the filtered source sheet.
Easy eh? Well I'm sorry to say that after two days my brain appears to
have melted.
I got as far as creating the sheet with the right name, but code tries to
take the filtered data from the "DATA" worksheet instead of the one
defined.
<rant> I've been database programming since about 1984 and could do this
in an hour with a few SQL statements in visual Foxpro, but no-one wants it
since MickeySoft have killed a perfectly good language.</rant>
Is this enough info to point me in the right direction? Or do I have to
show the world my poor attempt at amending the code.
I must say the help the experts here provide to people like me is the most
impressive thing I have seen about excel. I can't keep pace with the
traffic in here.
regards, Alan