VBA (visual Basic for application)..i want read the data from excel and write to text document
A B c
1 tbluserdtls userid firstname
2 tblleaddtls leadid leadname
this data in excel sheet
i want
select userid ,firstname from tbluserdtls
select leadid,leadname from tbllraddtls
using vba(macros) i want logic for that one...using loops