Solved

VBA & Project 2000 & Excel

Posted on 2002-05-30
6
195 Views
Last Modified: 2010-04-17
Here's the trick I wanna pull.

We're trying to get dual reporting out of our paperflow here.  People working in a project have to report Actuals to the Project Manager who keeps his project-file updated and they have to fill in an Excel-file for themselves that goes to the financial dept.
What I want to realize is a macro that fills in an Excel-sheet (The time-sheet) with the Actuals from the given resource from the project-file.  I found nearly all my parameters in the Projectfile and I know how to fill in an Excel-file, but in VBA I haven't got a clue how to link the both together. I would like to make the calculations, then open an Excel file and fill that up with the results from my calculations ... Who can help me ?

TIA

Forenzix
0
Comment
Question by:forenzixbe
6 Comments
 
LVL 22

Accepted Solution

by:
CJ_S earned 200 total points
ID: 7046406
It seems like you only do not know how to open the excel file (correct me if i am wrong). You can do this using the following:

Set MyExcel = GetObject("c:\thefile.xls", "Excel.Application")

Now you can use MyExcel to do all it's stuff.

CJ
0
 
LVL 54

Expert Comment

by:nico5038
ID: 7515120

No comment has been added lately, so it's time to clean up this TA.
I will leave a recommendation in the Cleanup topic area that this question is:
 - PAQ'd and pts removed
Please leave any comments here within the
next seven days.

PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER !

Nic;o)
0
 
LVL 1

Author Comment

by:forenzixbe
ID: 7529993
Thx CJ ... I'm sorry I'm kinda late but that has it's reasons ... I'm gonna try this asap !

grtz,

Forenzixbe
0
Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

 
LVL 22

Expert Comment

by:CJ_S
ID: 7530004
Thanks for coming back fornzixbe!

CJ
0
 
LVL 1

Expert Comment

by:Computer101
ID: 7653314
Listening

Computer101
E-E Admin
0
 
LVL 7

Expert Comment

by:peterchen092700
ID: 7998925
forenzixbe: still not decided?

No comment has been added lately.
To cleanup this TA, I will recommend to moderators that this question is:

*** Answered by: CJ_S ***

Please leave any comments here within the next seven days, or finalize the question if you own it
 
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!
 
peterchen
EE Volunteer
0

Featured Post

Are your AD admin tools letting you down?

Managing Active Directory can get complicated.  Often, the native tools for managing AD are just not up to the task.  The largest Active Directory installations in the world have relied on one tool to manage their day-to-day administration tasks: Hyena. Start your trial today.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Here we come across an interesting topic of coding guidelines while designing automation test scripts. The scope of this article will not be limited to QTP but to an overall extent of using VB Scripting for automation projects. Introduction Now…
Computer science students often experience many of the same frustrations when going through their engineering courses. This article presents seven tips I found useful when completing a bachelors and masters degree in computing which I believe may he…
In this fifth video of the Xpdf series, we discuss and demonstrate the PDFdetach utility, which is able to list and, more importantly, extract attachments that are embedded in PDF files. It does this via a command line interface, making it suitable …

777 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question