Hi all: I need help on the following:
Scenario:
I have a master database of information in Excel Called Data. It has a lot of fields. I have a form that I need to automatically filled with each row data from the master and then a save the form with a specific style (AgencyName_SiteAddress in a destination folder say C:\Forms) for each row of data.
I can create a macro to copy and paste information from various data cell to appropriate form fields, but I cannot seem to make excel save repeat the process for each row (loop process) and save each file separately. Need some help.
I know it may be seriously complicated for me but I know you guys can do it.
I need this program to make my life easy I have 4500 such rows that I need to manually create a form from (you can understand the frustration! )
Any help would be appreciated.
Since I cannot post the Excel file I am going to give you an example in one line below:[TABLE="class: cms_table, width: 500"]
<tbody>[TR]
[TD]Agency Name[/TD]
[TD]Agency Address[/TD]
[TD]Agency Number[/TD]
[TD]Site Address[/TD]
[TD]Site Number[/TD]
[TD]RowNumber[/TD]
[/TR]
[TR]
[TD]Agency 1[/TD]
[TD]1 Orange Street[/TD]
[TD]1001[/TD]
[TD]20 Banana Street[/TD]
[TD]5001[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Agency 2[/TD]
[TD]2 Orange St.[/TD]
[TD]1002[/TD]
[TD]5 Melon St.[/TD]
[TD]5002[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
TabName: Data
The form I have is based on this information in another sheet called Form (TabeName:Form): It looks like below
Section 1:
Agency Name: (cell G3:Ab3)
Agency Address: (Cell G6:AB6)
Agency Number: (Cell C9:E9)
Section 2:
Agency Address: (Cell 613:AB13)
Agency Number: (Cell C13:13)
Thank you guys!
Arif
Scenario:
I have a master database of information in Excel Called Data. It has a lot of fields. I have a form that I need to automatically filled with each row data from the master and then a save the form with a specific style (AgencyName_SiteAddress in a destination folder say C:\Forms) for each row of data.
I can create a macro to copy and paste information from various data cell to appropriate form fields, but I cannot seem to make excel save repeat the process for each row (loop process) and save each file separately. Need some help.
I know it may be seriously complicated for me but I know you guys can do it.
I need this program to make my life easy I have 4500 such rows that I need to manually create a form from (you can understand the frustration! )
Any help would be appreciated.
Since I cannot post the Excel file I am going to give you an example in one line below:[TABLE="class: cms_table, width: 500"]
<tbody>[TR]
[TD]Agency Name[/TD]
[TD]Agency Address[/TD]
[TD]Agency Number[/TD]
[TD]Site Address[/TD]
[TD]Site Number[/TD]
[TD]RowNumber[/TD]
[/TR]
[TR]
[TD]Agency 1[/TD]
[TD]1 Orange Street[/TD]
[TD]1001[/TD]
[TD]20 Banana Street[/TD]
[TD]5001[/TD]
[TD]1[/TD]
[/TR]
[TR]
[TD]Agency 2[/TD]
[TD]2 Orange St.[/TD]
[TD]1002[/TD]
[TD]5 Melon St.[/TD]
[TD]5002[/TD]
[TD]2[/TD]
[/TR]
</tbody>[/TABLE]
TabName: Data
The form I have is based on this information in another sheet called Form (TabeName:Form): It looks like below
Section 1:
Agency Name: (cell G3:Ab3)
Agency Address: (Cell G6:AB6)
Agency Number: (Cell C9:E9)
Section 2:
Agency Address: (Cell 613:AB13)
Agency Number: (Cell C13:13)
Thank you guys!
Arif