VBA - Help - replace contents of existing cells

  Newuser3443 12:59 21 Oct 05

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 05

Try using

Application.DisplayAlerts = False

Don't forget to turn it back on again!

  Newuser3443 16:01 21 Oct 05

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.

Hands-on: Acer Predator Triton 700 review

D&AD Awards 2017: see the best design, advertising, illustration, animation and VR of the past year

How to lose weight with an Apple Watch