a_n_s_h_a_n wrote: > hi! newbie here. from the subject, there is an error in the code. > could anyone please exlpain why? here's the code:
Your code works fine for me, at least through the Content stuff. You might try setting wordapp.Visible to 1 so you can see what is going on. For example, do you actually see the new document being created? > ... > worddoc.Content.Paragraphs.TabStops.Add(100) > worddoc.Content.InsertAfter('PDF Filename: ') > worddoc.Content.MoveEnd Unlike VB, that last statement doesn't actually call the MoveEnd function. It just returns its address. To call it, you need to use parens: worddoc.Content.MoveEnd() -- Tim Roberts, [EMAIL PROTECTED] Providenza & Boekelheide, Inc. _______________________________________________ python-win32 mailing list python-win32@python.org http://mail.python.org/mailman/listinfo/python-win32