Solved

VBA & Project 2000 & Excel

Posted on 2002-05-30
6
203 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
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

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Entering a date in Microsoft Access can be tricky. A typo can cause month and day to be shuffled, entering the day only causes an error, as does entering, say, day 31 in June. This article shows how an inputmask supported by code can help the user a…
Although it can be difficult to imagine, someday your child will have a career of his or her own. He or she will likely start a family, buy a home and start having their own children. So, while being a kid is still extremely important, it’s also …
An introduction to basic programming syntax in Java by creating a simple program. Viewers can follow the tutorial as they create their first class in Java. Definitions and explanations about each element are given to help prepare viewers for future …
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

740 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