Solved

VBA & Project 2000 & Excel

Posted on 2002-05-30
6
200 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
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

Active Directory Webinar

We all know we need to protect and secure our privileges, but where to start? Join Experts Exchange and ManageEngine on Tuesday, April 11, 2017 10:00 AM PDT to learn how to track and secure privileged users in Active Directory.

Question has a verified solution.

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

This article is meant to give a basic understanding of how to use R Sweave as a way to merge LaTeX and R code seamlessly into one presentable document.
Since upgrading to Office 2013 or higher installing the Smart Indenter addin will fail. This article will explain how to install it so it will work regardless of the Office version installed.
In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…

827 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