VBA - Help - replace contents of existing cells

  Newuser3443 12:59 21 Oct 2005

I am inporting a text file into Excel using a macro.

Once the file is imported I am then delimiting it (it is necessary to import the file first).
When I do so, it asks me if I want to replace the contents of the existing cells.

The answer is "yes", but is there a way of getting it to do this automatically without the prompt box comming up please?

Any assistance would be appreciated,



  VoG II 15:07 21 Oct 2005

Try using

Application.DisplayAlerts = False

Don't forget to turn it back on again!

  Newuser3443 16:01 21 Oct 2005

You do make me smile VoG. Nearly missed that response before it disappeared off the bottom of the page.

Thank you very much for your help again.


This thread is now locked and can not be replied to.

Elsewhere on IDG sites

OnePlus 5T review: Hands-on

Illustrator Andrés Lozano on his improv line work, brazen use of colours & hand sketching

iPhone X review

Comment envoyer gratuitement des gros fichiers ?