You could use VbScript for batch run.
Put this code in text file and save it with vbs extension:
dim fso, myPath
'--------------------------------------------------------------------
myPath = "C:\...\"
'--------------------------------------------------------------------
Set fso = CreateObject("Scripting.FileSystemObject")
Set xl = CreateObject("Excel.Application")
Set objFolder = fso.GetFolder(myPath).Files
For Each myFile In objFolder
set myWb = xl.Workbooks.open (myFile)
for each mySh in myWb.sheets
if lcase(mySh.name) = "drop_downlist" then
mySh.range("a:a").ClearContents
else
mySh.range("b15").ClearContents
end if
Next
myWb.Close True
Next
xl.quit
Set fso = nothing
Set xl = nothing
Set objFolder = nothing
Regards,
Antonio
Bookmarks