Import/Export in vb with excel 2002 with a listbox

tahir573

New Member
Joined
Dec 31, 2008
Messages
44
i have a listbox in my vb6 program with file paths of all employees
i made all enployee files with my xl template that's why cell names
are same like empname, ampdesg(employee designation), tcustomer,
tvisit, and tarea etc. Then i make a master xl sheet in which i named
some cells like emp1name, emp1desg, tcustomer1 and so on then emp2name, emp2desg etc.

I want my vb6 program open each file by path in listbox and move values
to master sheet like xx.rage(xx).value = yy.rang(yy).value where x is
master sheet range and y is each employee sheet range.
Kindly help me solve this Problem i'll be thankful 2 u.

I have excel 2002 and vb6
 

Excel Facts

Format cells as currency
Select range and press Ctrl+Shift+4 to format cells as currency. (Shift 4 is the $ sign).

Forum statistics

Threads
1,214,924
Messages
6,122,293
Members
449,077
Latest member
Rkmenon

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top