Long time reader, first time poster.
I am trying to create vba code that will allow me automatically export four different sheets in an excel workbook (.xlsm file to be exact) named, for example, SheetA, SheetB, SheetC, SheetD to individual .csv files saved automatically always on the desktop (and to replace any existing files of the same name). I would like the .csv files to be named after their sheet name.
I have searched tirelessly with no success. My problem when I try to record the macro (which I often do b/c of little coding experience) is that File > Save as... .csv changes my .xlsm file to the .csv and it just gets all messed up. So I am looking for something that will save these four sheets in the background without actually opening the .csv files.
Any suggestions?<textarea id="adlesse_unifier_magic_element_id" style="display: none;"></textarea>
I am trying to create vba code that will allow me automatically export four different sheets in an excel workbook (.xlsm file to be exact) named, for example, SheetA, SheetB, SheetC, SheetD to individual .csv files saved automatically always on the desktop (and to replace any existing files of the same name). I would like the .csv files to be named after their sheet name.
I have searched tirelessly with no success. My problem when I try to record the macro (which I often do b/c of little coding experience) is that File > Save as... .csv changes my .xlsm file to the .csv and it just gets all messed up. So I am looking for something that will save these four sheets in the background without actually opening the .csv files.
Any suggestions?<textarea id="adlesse_unifier_magic_element_id" style="display: none;"></textarea>