Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
 
Posts: n/a
Default [newbie] better vba coding


hi

i've setup a word template (working fine), which reads data from an
excel file. my problem is that its not the fastest process. some
formfields that read data and read/write data to an excel file on
enter/exit events

please bear with me as i'm new to vba coding.

currently, i've separated all initialisation (of excel) for each code
execution event

i think the most time is wasted by the CreateObject and opening
workbook lines.

i thought of using GetObject instead of CreateObject but there's no
guarantee that excel would be running at the required time.

please give me some good ideas on how to make this more efficient.

riyaz

 
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
[newbie] word counts.. and excluding stuff.. [email protected] Microsoft Word Help 2 May 23rd 05 06:37 PM
Complicated mail merge with html coding [email protected] New Users 1 April 24th 05 11:55 AM


All times are GMT +1. The time now is 10:34 AM.

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"