Background: I have a membership roster in Excel with a requirement to extract member names who have reached various years of membership in 5-year groups and print in our newsletter. These groups range from 5-65 years. I have VBA code that creates an excel sheet and lists the members in these groups. The number of rows in the year groups vary each month with some groups being blank with no members.
To Date: I have been manually eliminating blank cells, rows, and columns from the extracted member sheet each month, rearranging year groups, then copying and pasting to word document. The word document usually requires further formatting to display in newsletter properly. This is a very cumbersome and time consuming task.
Requirement: I need VBA code to copy the non blank cells by year group and write to a word document. I have the code working to create word document. The code creates a two column document with the thought of listing 5-year to 65-year (if there are members) in order by columns, but not a requirement if better way to do it. I am stuck on the code to copy from excel and write to word document in the year groups without blank cells.
Any help or suggestions greatly appreciated.
To Date: I have been manually eliminating blank cells, rows, and columns from the extracted member sheet each month, rearranging year groups, then copying and pasting to word document. The word document usually requires further formatting to display in newsletter properly. This is a very cumbersome and time consuming task.
Requirement: I need VBA code to copy the non blank cells by year group and write to a word document. I have the code working to create word document. The code creates a two column document with the thought of listing 5-year to 65-year (if there are members) in order by columns, but not a requirement if better way to do it. I am stuck on the code to copy from excel and write to word document in the year groups without blank cells.
Any help or suggestions greatly appreciated.