Reply
 
Thread Tools Display Modes
  #1   Report Post  
Simon
 
Posts: n/a
Default Running Macro from Word vs running macro from vb.net prog

I'm using the following to open and run a macro in word

wordApp.Documents.Open(MyDoc)
wordApp.Run("CatgTitle")
wordApp.save()

The Macro goes through each item in Column A and based on the properties
adjusts row hight, column width, font etc. also merges columns

this takes 40 mins for 4000 rows

Works fine if I run this from word using tools macro run

But if I execute it from VB with above code the column width are not set
correctly

because columns are merged I can't adjust the columns after running the
macro!

Any help would be appreciated




Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Does Word have Keyboard Merges like Word Perfect does? Donnas Mailmerge 1 June 28th 05 09:30 PM
Word2000 letterhead merge BAW Mailmerge 3 June 25th 05 01:17 PM
Macros - Keyboard Commands Janet Microsoft Word Help 6 April 11th 05 05:28 AM
In Word, how can I see all files (*.*) in "save as"? citizen53 New Users 8 April 4th 05 04:56 PM
creating forms Fluffypink Microsoft Word Help 4 March 9th 05 04:17 PM


All times are GMT +1. The time now is 12:35 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"