Solved

VBA & Project 2000 & Excel

Posted on 2002-05-30
6
183 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
Comment Utility
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
Comment Utility

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
Comment Utility
Thx CJ ... I'm sorry I'm kinda late but that has it's reasons ... I'm gonna try this asap !

grtz,

Forenzixbe
0
Enabling OSINT in Activity Based Intelligence

Activity based intelligence (ABI) requires access to all available sources of data. Recorded Future allows analysts to observe structured data on the open, deep, and dark web.

 
LVL 22

Expert Comment

by:CJ_S
Comment Utility
Thanks for coming back fornzixbe!

CJ
0
 
LVL 1

Expert Comment

by:Computer101
Comment Utility
Listening

Computer101
E-E Admin
0
 
LVL 7

Expert Comment

by:peterchen092700
Comment Utility
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
scoresAverage challenge 8 75
changePi Challenge 15 75
File.WriteAllLines problem at random C# ASP.NET 6 53
Path to Python 9 37
I know it’s not a new topic to discuss and it has lots of online contents already available over the net. But Then I thought it would be useful to this site’s visitors and can have online repository on vim most commonly used commands. This post h…
This is about my first experience with programming Arduino.
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 …
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…

743 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

Need Help in Real-Time?

Connect with top rated Experts

17 Experts available now in Live!

Get 1:1 Help Now