I use several Excel macros to reformat some HTM files into Excel (complex parsing/formatting) and also to add data to existing workbooks by VLOOKUP & other functions. Two of these macros always produce Windows dialog boxes - one includes a Save As that
replaces an existing file plus edits a resource workbook (renames the tab), but then closes it (and I don't want to save the tab rename), and the other file does a text to columns conversion that replaces old data, and I want it to always accept the replacement.
The latter I could work around by changing the way I do the work, but the former two, will always be that way. So I'm wondering, is there a way to add Visual Basic code that will always answer the Windows dialog box for me (e.g.
Yes, I want to save over this file, No, I don't want to save the worksheet rename to this file, and
Yes, I do want this text to columns conversion to replace the existing data. If not, I can always be sitting here and answering the dialog boxes, but if I can add code, I'd rather. Thanks in advance! I'm hoping the answer is VB code to add
to my macro. In anticipation that it is, if I need to know a "Name" for the dialog box, please include how I find the "name" of the dialog box to include in the code.