Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
other
informationbridge
office.intranets
office.misc
office.setup
office.xml
officeupdate
onenote
photodraw.discussion
powerpoint
producer
proj.standard&server
project
project.developer
project.pro_and_serve
project.server
project.vba
project2000
publisher
publisher.prepress
publisher.programming
publisher.webdesign
visio
visio.createshapes
visio.database.modeling
visio.dev.diagrams
visio.dev.shapesheet
visio.dev.vba
visio.dev.vc
visio.developer
visio.general
visio.installation
visio.printing
visio.software.modeling
visio.troubleshoot
  
 
date: Fri, 15 Aug 2008 03:52:03 -0700,    group: microsoft.public.project.developer        back       


querry row and column header in Project 2007 VBA   
Hi,

I hope someone can help me with my question.  I'm afraid that I am no VBA 
expert but I do have some programming knowledge.

I would like a VBA macro in Project 2007 that when it runs it can find out 
the column and row headers and either store them to a pair of variables or 
pop a message box with this info in.  As an example if I was in the second 
column and second row of the opening task info project table I would like to 
be able to retrieve the fact that the column header is "Task Name" and the 
row header is "2".  I have searched through various posts and tried to figure 
out how to do this on my own but have had no luck so far.

It may sound like a strange request but as a bit of background it is for a 
visually impaired computer user.  

Thanks in advance for any help or guidance that you can offer me.

Spen
date: Fri, 15 Aug 2008 03:52:03 -0700   author:   spencer

Re: querry row and column header in Project 2007 VBA   
Hi,

Application.activecell.fieldname
Application.activecell.task.id

Hope this helps,
-- 
Jan De Messemaeker
Microsoft Project Most Valuable Professional
+32 495 300 620
For availability check:
http://users.online.be/prom-ade/Calendar.pdf
"spencer"  wrote in message 
news:012CE7EE-A20D-4F19-B9F7-A680A02D9731@microsoft.com...
> Hi,
>
> I hope someone can help me with my question.  I'm afraid that I am no VBA
> expert but I do have some programming knowledge.
>
> I would like a VBA macro in Project 2007 that when it runs it can find out
> the column and row headers and either store them to a pair of variables or
> pop a message box with this info in.  As an example if I was in the second
> column and second row of the opening task info project table I would like 
> to
> be able to retrieve the fact that the column header is "Task Name" and the
> row header is "2".  I have searched through various posts and tried to 
> figure
> out how to do this on my own but have had no luck so far.
>
> It may sound like a strange request but as a bit of background it is for a
> visually impaired computer user.
>
> Thanks in advance for any help or guidance that you can offer me.
>
> Spen
date: Fri, 15 Aug 2008 16:26:55 +0200   author:   Jan De Messemaeker

Re: querry row and column header in Project 2007 VBA   
That's exactly what I wanted.  Thank you very much for your prompt and 
extremely helpful response

Spencer

"Jan De Messemaeker" wrote:

> 
> Hi,
> 
> Application.activecell.fieldname
> Application.activecell.task.id
> 
> Hope this helps,
> -- 
> Jan De Messemaeker
> Microsoft Project Most Valuable Professional
> +32 495 300 620
> For availability check:
> http://users.online.be/prom-ade/Calendar.pdf
> "spencer"  wrote in message 
> news:012CE7EE-A20D-4F19-B9F7-A680A02D9731@microsoft.com...
> > Hi,
> >
> > I hope someone can help me with my question.  I'm afraid that I am no VBA
> > expert but I do have some programming knowledge.
> >
> > I would like a VBA macro in Project 2007 that when it runs it can find out
> > the column and row headers and either store them to a pair of variables or
> > pop a message box with this info in.  As an example if I was in the second
> > column and second row of the opening task info project table I would like 
> > to
> > be able to retrieve the fact that the column header is "Task Name" and the
> > row header is "2".  I have searched through various posts and tried to 
> > figure
> > out how to do this on my own but have had no luck so far.
> >
> > It may sound like a strange request but as a bit of background it is for a
> > visually impaired computer user.
> >
> > Thanks in advance for any help or guidance that you can offer me.
> >
> > Spen 
> 
> 
>
date: Mon, 18 Aug 2008 01:57:01 -0700   author:   spencer

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us