Hello,
I'm looking for some help! I have several rows of data with the following sample information:
[TABLE="width: 100"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Item Decription[/TD]
[TD]Units[/TD]
[TD]Prop. Line[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Removing Asphaltic Surface[/TD]
[TD]SY[/TD]
[TD]0004[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Removing Guardrail[/TD]
[TD]LF[/TD]
[TD]0014[/TD]
[/TR]
</tbody>[/TABLE]
I also have a "Templates" folder with template excel files named after the different units (i.e., SY, LF, etc.). For each row of data I have to look up the "Unit" in column B, then find the template file with the same "Unit" name, then copy and rename the template file to a destination folder. I need to rename the copied template file using the information in column C and A as follows: "Prop. Line_Item Description".
So for Row 2 in the table above, I would copy the "SY.xlsx" template file and rename it in a destination folder as "0004_Removing Asphaltic Surface.xlsx".
For Row 3 in the table above, I would copy the "LF.xlsx" template file and rename it as "0014_Removing Guardrail.xlsx" in the same destination folder as Row 2.
I'm wondering if anyone would be able to help me automate this process! Thanks in advance!
I'm looking for some help! I have several rows of data with the following sample information:
[TABLE="width: 100"]
<tbody>[TR]
[TD][/TD]
[TD]A[/TD]
[TD]B[/TD]
[TD]C[/TD]
[/TR]
[TR]
[TD]1[/TD]
[TD]Item Decription[/TD]
[TD]Units[/TD]
[TD]Prop. Line[/TD]
[/TR]
[TR]
[TD]2[/TD]
[TD]Removing Asphaltic Surface[/TD]
[TD]SY[/TD]
[TD]0004[/TD]
[/TR]
[TR]
[TD]3[/TD]
[TD]Removing Guardrail[/TD]
[TD]LF[/TD]
[TD]0014[/TD]
[/TR]
</tbody>[/TABLE]
I also have a "Templates" folder with template excel files named after the different units (i.e., SY, LF, etc.). For each row of data I have to look up the "Unit" in column B, then find the template file with the same "Unit" name, then copy and rename the template file to a destination folder. I need to rename the copied template file using the information in column C and A as follows: "Prop. Line_Item Description".
So for Row 2 in the table above, I would copy the "SY.xlsx" template file and rename it in a destination folder as "0004_Removing Asphaltic Surface.xlsx".
For Row 3 in the table above, I would copy the "LF.xlsx" template file and rename it as "0014_Removing Guardrail.xlsx" in the same destination folder as Row 2.
I'm wondering if anyone would be able to help me automate this process! Thanks in advance!