Publishing Local Resources to the Server

  • Thread starter Paul Conroy Designtech
  • Start date
P

Paul Conroy Designtech

If you are experiencing publishing errors when publishing projects which
contain local resources, the following macro will automatically set the
workgroup to none for all local resources each time the project is saved.

If pj Is Nothing Then
Exit Sub
End If

Dim a1 As Resource
If pj.Resources Is Nothing Then
Exit Sub
End If

For Each a1 In pj.Resources
If Not a1.Enterprise Then
a1.Workgroup = pjNoWorkgroupMessages
End If
Next

Add the macro to the "before save" sub routine of the Enterprise Global
Template. You may also need to set the security settings for macros within
winproj to low in order for this to work.
 

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