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: 6 Jan 2006 07:23:31 -0800,    group: microsoft.public.project.vba        back       


Refer to empty cell/row   
My goal is to move the activecell to the first empty task in the
project, in other words to the end of the project plus one.  This is
what I've tried so far:


Dim t As Task
    Dim num As Long
    For Each t In ActiveProject.Tasks
    num = t.UniqueID
    If num = 0 Then
        EditGoTo ID:=ActiveProject.Tasks(num).UniqueID
        Call openpfile
        Call buildparrays
    End If
    Next t


Project nevers finds a unique id of 0(zero) plus I've tried
NOT(isnumeric(t))


and I've also tried


t.name = ""

Is it possible to refer to an empty cell/row?
Any suggestions, your help is greatly appreciated!
date: 6 Jan 2006 07:23:31 -0800   author:   Ruth

Re: Refer to empty cell/row   
see my reply in the developer group (where I replied before you even posted
here!)
You can address an empty CELL in an existing task but IMHO not an empty ROW
(the related task is a Nothing object)
HTH

--
Jan De Messemaeker
Microsoft Project Most Valuable Professional
http://users.online.be/prom-ade/
+32-495-300 620
"Ruth"  schreef in bericht
news:1136561011.273751.110020@z14g2000cwz.googlegroups.com...
> My goal is to move the activecell to the first empty task in the
> project, in other words to the end of the project plus one.  This is
> what I've tried so far:
>
>
> Dim t As Task
>     Dim num As Long
>     For Each t In ActiveProject.Tasks
>     num = t.UniqueID
>     If num = 0 Then
>         EditGoTo ID:=ActiveProject.Tasks(num).UniqueID
>         Call openpfile
>         Call buildparrays
>     End If
>     Next t
>
>
> Project nevers finds a unique id of 0(zero) plus I've tried
> NOT(isnumeric(t))
>
>
> and I've also tried
>
>
> t.name = ""
>
> Is it possible to refer to an empty cell/row?
> Any suggestions, your help is greatly appreciated!
>
date: Sat, 7 Jan 2006 10:40:40 +0100   author:   Jan De Messemaeker jandemes at prom hyphen ade dot be

Google
 
Web ureader.com


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