how to refer last row value through the macro

C

chitra

i am going to refer the project row through the macro.So that how can i refer
the last row value.It is varing one.

how to use the string comparisons.
 
R

Rod Gill

Hi,

Usually you don't need or want to refer to rows. Better to use:
ActiveProject.Tasks(ActiveProject.Tasks.Count).ID to get the ID of the last
Task or

ActiveProject.Tasks(ActiveProject.Tasks.Count).Text1="Hello World"

to set Text1 for the last Task.
 

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