Hi not sure whether I should post this in XL or VBA forum
I have attached an XL file, this shows a randomly ordered List of TAG Nos and the TAGS Parent TAG. This is in an MDB file in a single table. The two columns are PK_TAG - Unique index of TAG Nos and Primary Key of the Table. FLD_PARENT shows and individual TAG immediate parent item and is a lookup value from PK_TAG.
Columns D to H on the XL sheet show how the client wants this displaying on the worksheets.
I should know how to do this but can't get this working. I can transfer the data from Access to XL via copyfromrecordset method but cannot get the coding right to show this in the hierarchical format required once in XL.
Does anyone have a procedure that can acheive this for me
Regards
Jon
I have attached an XL file, this shows a randomly ordered List of TAG Nos and the TAGS Parent TAG. This is in an MDB file in a single table. The two columns are PK_TAG - Unique index of TAG Nos and Primary Key of the Table. FLD_PARENT shows and individual TAG immediate parent item and is a lookup value from PK_TAG.
Columns D to H on the XL sheet show how the client wants this displaying on the worksheets.
I should know how to do this but can't get this working. I can transfer the data from Access to XL via copyfromrecordset method but cannot get the coding right to show this in the hierarchical format required once in XL.
Does anyone have a procedure that can acheive this for me
Regards
Jon