How to Delete Another WorkBook Macros
I will stated my examples clearly, so you could help me or give me the words
to fill in the blanks.
"Workbook A" name is "HSA template 1"
"Workbook B" name is "HSA template 2"
Workbook A contains a module name "AllDataYieldCrunch"
Workbook B conains a 2 module name, 1st is "SortData", 2nd is "CrunchData"
So in my workbook A, I want to add the code, macro or scripts, inside my
module "AllDataYieldCrunch" together. Then it will also delete the 2 modules
in
workbook B.
Workbook A module stated below :-
Sub ########()
####$##^^%&^
#$#%^$^&*(&&
}#%^%$%&*^(&
ActiveWorkbook.SaveAs Filename:="E:\HSA Template 2", _
FileFormat:=xlNormal, Password:="", WriteResPassword:="",
ReadOnlyRecommended:=False, CreateBackup:=False
End Sub.
So where should I place the script?? before the end sub??
|