Task Recorder

Hi,

i am using task recorder in ax,but finally i am making word document that time an error is occurring…Please suggest me

Error is blow-

"Method ‘styles’ is not supported by the Automation interface of the COM object of class ‘_Document’."