help needed getting Excel data into TSV Actual Work 
Author Message
 help needed getting Excel data into TSV Actual Work

Hello,

I am very new to VBA.  I need to get actual work data from an excel
spreadsheet into the proper(by day, resource, subtask) Actual work field in
MS P 98.

So far, my macro goes out and gets the EXcel spreadsheet that has been
dumped by the accounting system.  It then loops through the Tasks and
Assignments in MS P, but it does not compare the A.Resource and the Excel
"Name" column or the A.TaskName and the Excel "Subtask" column in order to
then go get the date worked and the sum of hours from the spreadsheet and
place it into MS P.

The macro makes the Excel spreadsheet visible.  Do I need to place the
spreadsheet values into an array(?) and pass them into the procedure in
order to get the values?

Do I need to write this macro from the Excel side?

Thanks,
Carole



Tue, 26 Nov 2002 03:00:00 GMT  
 help needed getting Excel data into TSV Actual Work
Hello Carole,



 Hello,
 The macro makes the Excel spreadsheet visible.  Do I need to place the
 spreadsheet values into an array(?) and pass them into the procedure in
 order to get the values?

* Not at all. You can read the Excel data as Cells (Row, Column).Value and
assign them to the appropriate    TimeScaleValue(X) as you seem to suggest

 Do I need to write this macro from the Excel side?

* Entirely your choice. If we are dealing with small volumes, itreally is
irrelevant; if you are dealing with large volumes, I would advise to aim at
the smallest number of Active X calls e. g. ik you have  many more Excel
instructions write in Excel and vice versa, this can speed up processing.



Wed, 27 Nov 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Importing TSV Actual Work from Excel

2. Need help getting data from an excel file

3. need help with getting cursors to work!!!!!!!!!!!!!!!!!

4. Help needed getting the ChooseFont api function to work

5. HELP! Getting data to Excel Worksheet

6. HELP: Getting table data from EXCEL via Exel OBJECT and then dumping result in Flexgrid

7. Need help making Excel VBA work with Outlook

8. Need help getting data out of a dbgrid control

9. URGENT Need help with getting data from text files

10. Need help getting com port data being sent by another pgm

11. URGENT Need help with getting data from text files

12. Newbie needs some help getting data FROM an html

 

 
Powered by phpBB® Forum Software