Results 1 to 2 of 2

Delete items start by "R" in organizer of Ms Project VBA

Threaded View

  1. #1
    Registered User
    Join Date
    02-19-2021
    Location
    Canada
    MS-Off Ver
    2017
    Posts
    1

    Delete items start by "R" in organizer of Ms Project VBA

    Hi,

    I'm looking for a solution for delete all items starts by "R" in Views of Organizer in Ms project.

    My Code :
     For Each nom In ActiveProject.TaskViewList
       If Left(nom, 1) = "R" Then
           
             OrganizerDeleteItem Type:=pjViews, FileName:="Global.MPT", Name:=nom
         
       End If
    Next nom
    The error is : Run Time Error 1101. Wrong name

    Someone can help me
    Last edited by davesexcel; 02-21-2021 at 07:38 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Delete all items from Row 3 , except items in Col C containing "Mind Players"
    By Howardc1001 in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 01-15-2021, 07:08 AM
  2. Looking to tag item as "DELETE" for bottom X performing items by store
    By jtshorns in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 09-11-2020, 04:47 PM
  3. Replies: 1
    Last Post: 02-05-2019, 02:01 PM
  4. Moving 30 days and older messages from "Sent Items" to "Deleted Items"
    By bandera in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 07-20-2014, 07:09 AM
  5. Replies: 1
    Last Post: 05-09-2013, 02:05 AM
  6. VBA Slice Setting "Show Items Delete from the Data source"
    By milobc in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 07-05-2012, 08:37 PM
  7. Replies: 1
    Last Post: 07-16-2010, 02:44 AM

Tags for this Thread

Bookmarks

Posting Permissions

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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1