nittynair
13 years agoOccasional Contributor
Using For loop with different sheets in an excel
Hi,
My application has two pages
page 1 : i need to add company details
Page 2 : employee details of the above company
I have put company data in sheet 1 and employee detail in sheet 2.
eg . row 1 of sheet 1 has company 1 details
row 1 and 2 of sheet 2 have details of employees of the above company
row 2 of sheet 1 has company 2 details
row 3 and 4 of sheet 2 have details of employees of the above company
therefore i need a For loop which checks if the company name is company 1 and inputs details of the employees ( row 1 and 2 of sheet 2) to my application so on..
Kindly explain how to implement the abive
thanks in advance
My application has two pages
page 1 : i need to add company details
Page 2 : employee details of the above company
I have put company data in sheet 1 and employee detail in sheet 2.
eg . row 1 of sheet 1 has company 1 details
row 1 and 2 of sheet 2 have details of employees of the above company
row 2 of sheet 1 has company 2 details
row 3 and 4 of sheet 2 have details of employees of the above company
therefore i need a For loop which checks if the company name is company 1 and inputs details of the employees ( row 1 and 2 of sheet 2) to my application so on..
Kindly explain how to implement the abive
thanks in advance