ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   text to columns (https://www.excelbanter.com/excel-programming/280255-text-columns.html)

timO

text to columns
 
I have a procedure that turns multi-character data in a
single cell (Thanks to Tom Ogilvy) to "text-to-columns"
after the user inputs data into the particular cell.

Before the operation is complete, I get a message box
asking "Do you want to replace the contents of the
destination cells?"

Is there a way to hide or defeat this message box so the
process is seamless to the end user? I have tried runing
the code while recording to see if the procedure of me
selecting "OK" would be recorded, but it is not.
BTW:There is nothing currently in the destination cells
Thanks in Advance

David Hager[_2_]

text to columns
 
Use Application.DisplayAlerts = False

--
David Hager
Excel MVP

"TimO" wrote in message
...
I have a procedure that turns multi-character data in a
single cell (Thanks to Tom Ogilvy) to "text-to-columns"
after the user inputs data into the particular cell.

Before the operation is complete, I get a message box
asking "Do you want to replace the contents of the
destination cells?"

Is there a way to hide or defeat this message box so the
process is seamless to the end user? I have tried runing
the code while recording to see if the procedure of me
selecting "OK" would be recorded, but it is not.
BTW:There is nothing currently in the destination cells
Thanks in Advance





All times are GMT +1. The time now is 05:43 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com