saschmeling
New Member
- Joined
- Jun 27, 2012
- Messages
- 39
Hi,
I have a VBA program that creates a report sheet using information from other sheets. This is done monthly. I would like to format the section total rows if they exist. Here is what is going on.
The report pulls information from one workbook, and assigns names to a total row if said total row exists. Such as CapitalExpense. Capital Expenses may not exist every month, the name is created only if the section exists. This is done for 8 separate sections. Now I would like to go back and add a thick bottom border to those rows only if those rows exist.
Here is the step process for each one.
If Name Exists- select name cell
Expand selection to include 4 columns to the right of the named cell.
Add a thick bottom border to selection.
Next Name in array.
Please help if you have any suggestions.
Thanks,
Scott
I have a VBA program that creates a report sheet using information from other sheets. This is done monthly. I would like to format the section total rows if they exist. Here is what is going on.
The report pulls information from one workbook, and assigns names to a total row if said total row exists. Such as CapitalExpense. Capital Expenses may not exist every month, the name is created only if the section exists. This is done for 8 separate sections. Now I would like to go back and add a thick bottom border to those rows only if those rows exist.
Here is the step process for each one.
If Name Exists- select name cell
Expand selection to include 4 columns to the right of the named cell.
Add a thick bottom border to selection.
Next Name in array.
Please help if you have any suggestions.
Thanks,
Scott