Connecting Tech Pros Worldwide Help | Site Map

working with .xlsm

Newbie
 
Join Date: Oct 2007
Posts: 28
#1: Aug 20 '09
I have a program that works perfectly with opening/modifying .xlsx (basic excel file) extension excel file but when i try to work with a .xlsm(macro enabled excel file) extension it just hangs.

Does python command:

Expand|Select|Wrap|Line Numbers
  1. from win32com.client import Dispatch
  2.     xlApp = Dispatch ("Excel.Application")
  3.     xlWb = xlApp.Workbooks.Open ("c:/loads_r1.xlsm")
not support macro enabled excel files?
Reply