search - VBA Outlook loop through my colleagues tasks -
i found how assign tasks colleagues. possible loop through colleagues tasks filter on project name, monitorate tasks status? in team project assign tasks each other, , project manager in 1 click see important tasks, status, due date...
you can use getshareddefaultfolder method of namespace class folder object represents specified default folder specified user. example, shared tasks folder can use following code:
sub resolvename() dim mynamespace outlook.namespace dim myrecipient outlook.recipient dim calendarfolder outlook.folder set mynamespace = application.getnamespace("mapi") set myrecipient = mynamespace.createrecipient("eugene astafiev") myrecipient.resolve if myrecipient.resolved call showtasks(mynamespace, myrecipient) end if end sub sub showtasks(mynamespace, myrecipient) dim taskfolder outlook.folder set taskfolder = _ mynamespace.getshareddefaultfolder _ (myrecipient, olfoldertasks) taskfolder.display end sub
Comments
Post a Comment