PC Review


Reply
Thread Tools Rate Thread

CONTROL WORD FROM EXCEL

 
 
YoureNotAtHomeNow@googlemail.com
Guest
Posts: n/a
 
      16th Aug 2008
User inputs data to Workbook1, processes it, clears it ready for the
next lot of data. Several users using 'Read Only' versions of Wb1 at
once.

The process is: Open a Worddoc, put some data from Wb1 in it, print
it, open a 2nd Worddoc, put some data from Wb1 in it, print it, put
some data from Wb1 in Workbook2, save Wb2.

The Worddocs don't need to be saved or stored anywhere (Wd1 will be
scanned (after it's been signed), Wd2 will be indexed to a DIPS file -
neither of which actions will be part of this process). Workbook2
doesn't need to be opened - can data be entered in a wb when it's
closed or would I need to make Wb2 a shared wb and get all users to
keep it open? Also - it will be receiving data from several users at
once and I want the data to go to 'next vacant row'. Would there be a
danger of any kind of 'clash'?

Can anybody give me a start?
 
Reply With Quote
 
 
 
 
Joel
Guest
Posts: n/a
 
      16th Aug 2008
Set WordObj = CreateObject("Word.Application")
WordObj.Visible = True
set Worddoc = WordObj.documents.Add


"(E-Mail Removed)" wrote:

> User inputs data to Workbook1, processes it, clears it ready for the
> next lot of data. Several users using 'Read Only' versions of Wb1 at
> once.
>
> The process is: Open a Worddoc, put some data from Wb1 in it, print
> it, open a 2nd Worddoc, put some data from Wb1 in it, print it, put
> some data from Wb1 in Workbook2, save Wb2.
>
> The Worddocs don't need to be saved or stored anywhere (Wd1 will be
> scanned (after it's been signed), Wd2 will be indexed to a DIPS file -
> neither of which actions will be part of this process). Workbook2
> doesn't need to be opened - can data be entered in a wb when it's
> closed or would I need to make Wb2 a shared wb and get all users to
> keep it open? Also - it will be receiving data from several users at
> once and I want the data to go to 'next vacant row'. Would there be a
> danger of any kind of 'clash'?
>
> Can anybody give me a start?
>

 
Reply With Quote
 
YoureNotAtHomeNow@googlemail.com
Guest
Posts: n/a
 
      17th Aug 2008
On Aug 16, 2:57*pm, Joel <J...@discussions.microsoft.com> wrote:
> Set WordObj = CreateObject("Word.Application")
> WordObj.Visible = True
> set Worddoc = WordObj.documents.Add
>
>
>
> "YoureNotAtHome...@googlemail.com" wrote:
> > User inputs data to Workbook1, processes it, clears it ready for the
> > next lot of data. *Several users using 'Read Only' versions of Wb1 at
> > once.

>
> > The process is: Open a Worddoc, put some data from Wb1 in it, print
> > it, open a 2nd Worddoc, put some data from Wb1 in it, print it, put
> > some data from Wb1 in Workbook2, save Wb2.

>
> > The Worddocs don't need to be saved or stored anywhere (Wd1 will be
> > scanned (after it's been signed), Wd2 will be indexed to a DIPS file -
> > neither of which actions will be part of this process). *Workbook2
> > doesn't need to be opened - can data be entered in a wb when it's
> > closed or would I need to make Wb2 a shared wb and get all users to
> > keep it open? *Also - it will be receiving data from several users at
> > once and I want the data to go to 'next vacant row'. *Would there be a
> > danger of any kind of 'clash'?

>
> > Can anybody give me a start?- Hide quoted text -

>
> - Show quoted text -


Thanks, Joel, I think I can get going now - but I may need to come
back to you!
 
Reply With Quote
 
Joel
Guest
Posts: n/a
 
      17th Aug 2008
Be careful the macro code for word isn't exactly the same as Excel. You can
try recording a macro in Word to do the tasks you want, but they may need
minor changes before they work in Excel. Also a table in word is addressed a
little diferetly then a spreadsheet in excel. Sometimes adding a parenthesis
or removing a parenthesis can get thing to work. Be prepare to experiment.

"(E-Mail Removed)" wrote:

> On Aug 16, 2:57 pm, Joel <J...@discussions.microsoft.com> wrote:
> > Set WordObj = CreateObject("Word.Application")
> > WordObj.Visible = True
> > set Worddoc = WordObj.documents.Add
> >
> >
> >
> > "YoureNotAtHome...@googlemail.com" wrote:
> > > User inputs data to Workbook1, processes it, clears it ready for the
> > > next lot of data. Several users using 'Read Only' versions of Wb1 at
> > > once.

> >
> > > The process is: Open a Worddoc, put some data from Wb1 in it, print
> > > it, open a 2nd Worddoc, put some data from Wb1 in it, print it, put
> > > some data from Wb1 in Workbook2, save Wb2.

> >
> > > The Worddocs don't need to be saved or stored anywhere (Wd1 will be
> > > scanned (after it's been signed), Wd2 will be indexed to a DIPS file -
> > > neither of which actions will be part of this process). Workbook2
> > > doesn't need to be opened - can data be entered in a wb when it's
> > > closed or would I need to make Wb2 a shared wb and get all users to
> > > keep it open? Also - it will be receiving data from several users at
> > > once and I want the data to go to 'next vacant row'. Would there be a
> > > danger of any kind of 'clash'?

> >
> > > Can anybody give me a start?- Hide quoted text -

> >
> > - Show quoted text -

>
> Thanks, Joel, I think I can get going now - but I may need to come
> back to you!
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Control Excel from Word =?Utf-8?B?cnlndXk3Mjcy?= Microsoft Excel Programming 2 24th Jul 2007 08:42 PM
Control Word through Excel =?Utf-8?B?cnlndXk3Mjcy?= Microsoft Access VBA Modules 0 24th Jul 2007 03:08 PM
Control Word through Excel =?Utf-8?B?Sm9ja2U=?= Microsoft Excel Programming 1 24th Jun 2005 03:38 PM
Word Control in Excel Stuart Microsoft Excel Programming 10 11th Jul 2004 08:47 PM
How to control Word from Excel? Jens 'Kluesi' Kluesener Microsoft Excel Discussion 1 16th Sep 2003 04:11 PM


Features
 

Advertising
 

Newsgroups
 


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