How to Cycle through open workbooks

B

Buster

How do I cycle through the open projects and perform a series of vba steps
on each sheet?

I want to be able to run my macro that exports timescaledata into excel on
each open project

Buster
 
R

Rod Gill

Hi,

Try:
Dim proj as Project
For each proj in application.Projects
'process schedule
next proj

--
For VBA posts, please use the public.project.developer group.
For any version of Project use public.project
For any version of Project Server use public. project.server

Rod Gill
Project MVP
For Microsoft Project companion projects, best practices and Project VBA
development services
visit www.project-systems.co.nz/
Email rodg AT project-systems DOT co DOT nz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top