SYNTAX Problems on a popup box

  • Thread starter Thread starter Todd Huttenstine
  • Start date Start date
T

Todd Huttenstine

This comes up red in the VBE


With CreateObject("Wscript.Shell")
.Popup "The files have been successfully installed to "
& Application.StartupPath." _
, 1, "Ops Reports Setup", 64
End With

How do I correct this?
 
You need:
With CreateObject("Wscript.Shell")
..Popup "The files have been successfully installed to " _
& App[xxx]on.StartupPath & ".", 1, "Ops Reports Setup", 64
End With

(the [xxx] is to help with formatting this response only)

jeff
 

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

Back
Top