Consulting

Results 1 to 1 of 1

Thread: Need Help on SelectTaskField Row

  1. #1

    Question Need Help on SelectTaskField Row

    Hi,

    I have a complex VA Macro and seem to get issue on SelectTaskField Row. My code is as under


    If (ActiveProject.Tasks.Count > 0) Then
        TaskCountBeforeInsertingProject = (ActiveProject.Tasks.Count)
        SelectTaskField Row:=TaskCountBeforeInsertingProject + 1, Column:="Name", RowRelative:=False
      End If
    Stop
      ConsolidateProjects Filenames:=PrjTemplateFolderName & Prj_ParentTemplate_Name, NewWindow:=False, AttachToSources:=False, HideSubtasks:=False, Password:=""   ' "NNN", NewWindow:=False, AttachToSources:=False, HideSubtasks:=False
    At the stop point, my cursor leaves few blank rows. So the next statement inserts tasks from template after blank rows.

    Please help
    Last edited by Aussiebear; 04-27-2023 at 12:59 AM. Reason: Added code tags

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •