A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » Links and Linking
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

links word to excel



 
 
Thread Tools Display Modes
  #1  
Old November 7th, 2007, 04:49 AM posted to microsoft.public.excel.links
Dave
external usenet poster
 
Posts: 12
Default links word to excel

Hello,

We have a Word document with approx 90 fields linked to an Excel
workbook. What we're trying to do is have an Excel VBA procedure step
through a table in the workbook, copy each record to the linked cells,
refresh the links and print the document, then on to the next record,
etc. The number of records is small (under 50), but the length is 86
fields (cells)

This idea would appear to work in theory, but it runs extremely slowly
and suffers from frequent crashes (usually Word). It seems to work Ok
when I drastically cut back the number of links, but the crash
frequency goes up as the number of links goes up.

Is the way to go, does anyone have any thoughts about this? To date I
haven't found anything on the Web or groups that quite addresses
this. Also, searching the Help didn't reveal any info re the maximum
number of links. I'm running Office 2007.

Thanks for your help,

Regards,

Dave

  #2  
Old November 7th, 2007, 07:22 AM posted to microsoft.public.excel.links
Bill Manville
external usenet poster
 
Posts: 258
Default links word to excel

Have you considered using Mailmerge?

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup

  #3  
Old November 8th, 2007, 04:45 AM posted to microsoft.public.excel.links
Dave
external usenet poster
 
Posts: 12
Default links word to excel

Hi Bill,

Thanks for pointing me in that direction. As one who has always
worked with Excel, but rarely with Word, MailMerge just never occured
to me. All the same, I'm still not sure why those links didn't work
as expected.

Thanks again,

regards,

Dave

On Nov 7, 1:22 am, Bill Manville wrote:
Have you considered using Mailmerge?

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup


  #4  
Old November 10th, 2007, 10:21 AM posted to microsoft.public.excel.links
macropod
external usenet poster
 
Posts: 1,231
Default links word to excel

Hi Dave,

If these are the same Excel cells you're referencing each time, simply copying them once into Word with Edit|Paste Special and
checking the 'Link' option will set the links up permanently. Then all you'll need to do is to refresh them periodically, which is
as simple as opening the Word document.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

"Dave" wrote in message oups.com...
Hi Bill,

Thanks for pointing me in that direction. As one who has always
worked with Excel, but rarely with Word, MailMerge just never occured
to me. All the same, I'm still not sure why those links didn't work
as expected.

Thanks again,

regards,

Dave

On Nov 7, 1:22 am, Bill Manville wrote:
Have you considered using Mailmerge?

Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup



  #5  
Old November 12th, 2007, 05:49 AM posted to microsoft.public.excel.links
Dave
external usenet poster
 
Posts: 12
Default links word to excel

Hi macropod,

Thanks for your response.

Yes, that's how we had them set up, and they worked fine in a semi-
static evironment. What we were doing was stepping through a table in
Excel and updating the linked cells with each record (using VBA from
Excel), then printing the linked Word document.. In other words, we
were attempting to do a batch print job, using the Excel data and
printing it on a Word document (form).

It was this dynamic updating and refreshing that was bringing the
system to it's knees. As Bill ponted out, MailMerge was probably the
better way to go, but as it turned out, we converted the Word form to
Excel, so thus eliminated the problem.

thanks,

Dave

On Nov 10, 4:21 am, "macropod" wrote:
Hi Dave,

If these are the same Excel cells you're referencing each time, simply copying them once into Word with Edit|Paste Special and
checking the 'Link' option will set the links up permanently. Then all you'll need to do is to refresh them periodically, which is
as simple as opening the Word document.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------



"Dave" wrote in ooglegroups.com...
Hi Bill,


Thanks for pointing me in that direction. As one who has always
worked with Excel, but rarely with Word, MailMerge just never occured
to me. All the same, I'm still not sure why those links didn't work
as expected.


Thanks again,


regards,


Dave


On Nov 7, 1:22 am, Bill Manville wrote:
Have you considered using Mailmerge?


Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup- Hide quoted text -


- Show quoted text -



  #6  
Old November 12th, 2007, 07:04 AM posted to microsoft.public.excel.links
macropod
external usenet poster
 
Posts: 1,231
Default links word to excel

Hi Dave,

For future reference, updating the links in Word by code could be as simple as 'ActiveDocument.Fields.Update'

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------

"Dave" wrote in message oups.com...
Hi macropod,

Thanks for your response.

Yes, that's how we had them set up, and they worked fine in a semi-
static evironment. What we were doing was stepping through a table in
Excel and updating the linked cells with each record (using VBA from
Excel), then printing the linked Word document.. In other words, we
were attempting to do a batch print job, using the Excel data and
printing it on a Word document (form).

It was this dynamic updating and refreshing that was bringing the
system to it's knees. As Bill ponted out, MailMerge was probably the
better way to go, but as it turned out, we converted the Word form to
Excel, so thus eliminated the problem.

thanks,

Dave

On Nov 10, 4:21 am, "macropod" wrote:
Hi Dave,

If these are the same Excel cells you're referencing each time, simply copying them once into Word with Edit|Paste Special and
checking the 'Link' option will set the links up permanently. Then all you'll need to do is to refresh them periodically, which
is
as simple as opening the Word document.

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------



"Dave" wrote in ooglegroups.com...
Hi Bill,


Thanks for pointing me in that direction. As one who has always
worked with Excel, but rarely with Word, MailMerge just never occured
to me. All the same, I'm still not sure why those links didn't work
as expected.


Thanks again,


regards,


Dave


On Nov 7, 1:22 am, Bill Manville wrote:
Have you considered using Mailmerge?


Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup- Hide quoted text -


- Show quoted text -




  #7  
Old November 12th, 2007, 03:24 PM posted to microsoft.public.excel.links
Dave
external usenet poster
 
Posts: 12
Default links word to excel



Hi macropod,

That's what we were doing!

There was a lot of disk swapping going on while running our 'batch
print' application, it seemed like the process was maxing out the
system resources (most likely memory), even though the application
itself was quite small.

regards,

Dave


On Nov 12, 1:04 am, "macropod" wrote:
Hi Dave,

For future reference, updating the links in Word by code could be as simple as 'ActiveDocument.Fields.Update'

Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------



"Dave" wrote in ooglegroups.com...
Hi macropod,


Thanks for your response.


Yes, that's how we had them set up, and they worked fine in a semi-
static evironment. What we were doing was stepping through a table in
Excel and updating the linked cells with each record (using VBA from
Excel), then printing the linked Word document.. In other words, we
were attempting to do a batch print job, using the Excel data and
printing it on a Word document (form).


It was this dynamic updating and refreshing that was bringing the
system to it's knees. As Bill ponted out, MailMerge was probably the
better way to go, but as it turned out, we converted the Word form to
Excel, so thus eliminated the problem.


thanks,


Dave


On Nov 10, 4:21 am, "macropod" wrote:
Hi Dave,


If these are the same Excel cells you're referencing each time, simply copying them once into Word with Edit|Paste Special and
checking the 'Link' option will set the links up permanently. Then all you'll need to do is to refresh them periodically, which
is
as simple as opening the Word document.


Cheers
--
macropod
[MVP - Microsoft Word]
-------------------------


"Dave" wrote in ooglegroups.com...
Hi Bill,


Thanks for pointing me in that direction. As one who has always
worked with Excel, but rarely with Word, MailMerge just never occured
to me. All the same, I'm still not sure why those links didn't work
as expected.


Thanks again,


regards,


Dave


On Nov 7, 1:22 am, Bill Manville wrote:
Have you considered using Mailmerge?


Bill Manville
MVP - Microsoft Excel, Oxford, England
No email replies please - respond to newsgroup- Hide quoted text -


- Show quoted text -- Hide quoted text -


- Show quoted text -



 




Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


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


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.