Question : VBA to zip two specific files

Please share the correct VBA to zip two specific files?
    oApp.NameSpace(pathname & location & ".zip")."C:\WINDOWS\MonthlyParplanDetail.xls"
    oApp.NameSpace(pathname & location & ".zip").[C:\WINDOWS\MonthlyParplanDetail.pdf]

Answer : VBA to zip two specific files

see this link for code and examples:
        http://www.rondebruin.nl/windowsxpzip.htm
Random Solutions  
 
programming4us programming4us