Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Copying Excel tables into Word

Hello

I'm looking to write some VBA code to copy a large table from Excel into
Word, and format it so it fits nicely with columns the right width etc. Its
possible to copy and paste it manually, but its lots of work and I'll need
to do this regularly.

Is it possible to get Excel to interact with Word in this way?

Anyone have any ideas?

Many thanks

Darren

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3
Default Copying Excel tables into Word

Hi Darren,

This can be complicated or simple... are you trying to do a generic function
that is going to account for how much horizontal space you have to work with?
If it is not enough is the solution to insert section breaks and format the
page to adjust for size of table? And so on€¦

If you have a fairly limited type of table sizes it might be pretty easy.
The other option is use Word Table styles and apply those to copy-paste
version of the table€¦ you could automate that€¦ via macro recorder€¦ which may
give you the most bang for little buck ;-)

Cheers,

~Smitch

"Darren V" wrote:

Hello

I'm looking to write some VBA code to copy a large table from Excel into
Word, and format it so it fits nicely with columns the right width etc. Its
possible to copy and paste it manually, but its lots of work and I'll need
to do this regularly.

Is it possible to get Excel to interact with Word in this way?

Anyone have any ideas?

Many thanks

Darren


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2
Default Copying Excel tables into Word

Hey Smitch.

Will give it a try, thanks for responding.

Cheers,

Darren

Supposing I have this table saved in a workbook called "Book1" and a sheet
called "Sheet
"Smitch" wrote in message
...
Hi Darren,

This can be complicated or simple... are you trying to do a generic
function
that is going to account for how much horizontal space you have to work
with?
If it is not enough is the solution to insert section breaks and format
the
page to adjust for size of table? And so on€¦

If you have a fairly limited type of table sizes it might be pretty easy.
The other option is use Word Table styles and apply those to copy-paste
version of the table€¦ you could automate that€¦ via macro recorder€¦ which
may
give you the most bang for little buck ;-)

Cheers,

~Smitch

"Darren V" wrote:

Hello

I'm looking to write some VBA code to copy a large table from Excel into
Word, and format it so it fits nicely with columns the right width etc.
Its
possible to copy and paste it manually, but its lots of work and I'll
need
to do this regularly.

Is it possible to get Excel to interact with Word in this way?

Anyone have any ideas?

Many thanks

Darren



Reply
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
Excel Word copying info from Excel to Word without gridlines / bor Renee Thomas Excel Discussion (Misc queries) 2 September 13th 07 09:24 AM
Copying word tables of different column width to excel. Kazuki Excel Discussion (Misc queries) 4 June 1st 06 09:54 AM
copying word tables into excel vmwexway Excel Worksheet Functions 0 March 1st 06 03:33 PM
copying word tables into excel vmwexway Excel Worksheet Functions 0 March 1st 06 03:32 PM
VBA from Excel 97-Word 97 tables Mark Howell Excel Programming 0 November 18th 03 03:45 PM


All times are GMT +1. The time now is 02:32 AM.

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

About Us

"It's about Microsoft Excel"