So what is the macro trying to do? Can you apply specific Views so you know
what is active?
--
Rod Gill
Microsoft MVP for Project
Author of the only book on Project VBA, see:
http://www.projectvbabook.com
That will tell me the name of the current view, but I would have to
know all the names of the Task and Resource Views. Then I would have
to bounce the name of the Current View off the two lists to determine
if the view the user is in is a Task-related View or a Resource-
related View, right? What if there was a Task view that has the same
name as a Resource view?
If the user was in a Gantt Chart type view, then I would know that the
user is looking at Task data. If the user was on the Resource Usage
view, then I would know the user was looking at Resource data. Is
there are property that tells me which "side" I am on?