Handling the overwrite/replace message

W

WD

How do I auto respond to the do you want to overwrite/replace message?

When I attempt to execute the snippet below, I get a pop-up message that I
need to respond to if an item that I am copying exist or has a formula. I
want to be able to run this without having to click ok for each message.

OrganizerMoveItem pjFields, sFile, sCurrentProject
OrganizerMoveItem pjFilters, sFile, sCurrentProject
OrganizerMoveItem pjViews, sFile, sCurrentProject
OrganizerMoveItem pjTables, sFile, sCurrentProject
OrganizerMoveItem pjModules, sFile, sCurrentProject

any tips would be helpful

thanks.

WD
 
W

WD

that makes sense...I just posted a response telling someone to do exactly
what you just said...sometimes we need someone else's input to take our own
advice...go figure
 
S

Steph

WD-

what I do is I turn off the warnings before and turn them back on after:

DisplayAlerts = False
OrganizerMoveItem ....
DisplayAlerts = True
 
J

Jan De Messemaeker

Hi,

Yes, that is the first step, but it doesn't stop the Resource Pool mesages
from appearing at open.
A sendkeys is necessary to avoid manual interventions.
HTH
 

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