LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 293
Default Copy to a Word Table

Hi joel,

It's just a matter of properly defining which references you're using where. After all, depending on where you're at with your code,
Selection could refer to either an Excel range or a Word range and you need to be clear as to which Selection you're referring to.

--
Cheers
macropod
[Microsoft MVP - Word]


"joel" wrote in message ...

You are probably correct when you are working with Word VBA that
selection isn't required. I've had lots of problems when I when I try
to access a word document using Excel VBA. The excel VBA gets confused
if it should use the Excel library or Word library when the methods are
the same. I think it has to do with which occurs first in the Reference
list. VBA should look at the object type to determine which is the
correct library but I don't think it does. Then if you revverse the
reference order of the two libraries word wil word correctly and excel
won't.


--
joel
------------------------------------------------------------------------
joel's Profile: 229
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=171622

Microsoft Office Help


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
How do I copy a word table into excel KF New Users to Excel 2 November 13th 08 03:46 AM
Copy filtered table to Word s0200897 Excel Worksheet Functions 0 May 3rd 07 04:05 AM
Copy from word table RRodrigues Excel Programming 1 July 21st 06 02:53 AM
Q: copy/paste table from Word JIM.H. Excel Discussion (Misc queries) 0 November 5th 05 04:57 PM
Copy Word table to Excel Nelson[_3_] Excel Programming 0 July 21st 03 06:54 PM


All times are GMT +1. The time now is 10:09 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"