Excel VBA close function only saves to desktop, how do I change the save location? -
i have excel file in floder thats inside folder, on desktop. using
dimbook.close savechanges:=true
with dimbook current workbook in order close , save workbook, , works fine, except expected save same folder workbook using macro, when in fact saves desktop. how can specify save location? thanks
change use save functionality:
dimbook.saveas filename:="c:\path"
then dimbook.close
//etc etc
Comments
Post a Comment