Macro Help
I need more information before I complete the coding. I'm confused by your
instructions. See Comments below
Could someone please create a macro to help me with a spreedsheet. I
understand the verbal steps but I cannot write code.
I start out by pasting a region of cells in cell A1. Row 1 are column
headings. I would like a macro to do the following steps for me:
1) Are these lebels in Column A? Or do you mean to delte Columns not rows?
Delete Rows Labeled:
Alpha Sequence
Administrator
Admin #
Investment Officer
Inv Officer #
Real Estate Officer
R.E. Officer #
Tax Officer
Tax Officer #
2) Again, Is Rel.Code a row or column?
Then I would like to sorta the entire region of cells by the row labeled
"Rel. Code" in ascending order.
3) Which column is the Relationship code number? Is I'm sorting in "2"
above then I assume the column will change. Then I need the exact heading in
row 1 of this column
This is now where it gets tricky. Each row has a relationship code number.
Anywhere from just 1 row, to 50 rows could have the same relationship number.
I would like insert a row at the bottom of each group of relationship codes
with the sum of the data in the column labeled "Market Value" in bold.
Following each sum, I would like a blank row.
4) Do you mean each row within a group gets sorted, or do you mean the
Groups (from 1 to 50 rows) get swapped.
Once this is complete, please sort each group by their total market value in
descending order.
Thank you, I greatly appreciate any efforts.
"Curt" wrote:
Could someone please create a macro to help me with a spreedsheet. I
understand the verbal steps but I cannot write code.
I start out by pasting a region of cells in cell A1. Row 1 are column
headings. I would like a macro to do the following steps for me:
Delete Rows Labeled:
Alpha Sequence
Administrator
Admin #
Investment Officer
Inv Officer #
Real Estate Officer
R.E. Officer #
Tax Officer
Tax Officer #
Then I would like to sorta the entire region of cells by the row labeled
"Rel. Code" in ascending order.
This is now where it gets tricky. Each row has a relationship code number.
Anywhere from just 1 row, to 50 rows could have the same relationship number.
I would like insert a row at the bottom of each group of relationship codes
with the sum of the data in the column labeled "Market Value" in bold.
Following each sum, I would like a blank row.
Once this is complete, please sort each group by their total market value in
descending order.
Thank you, I greatly appreciate any efforts.
|