Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.tables
Ann Ann is offline
external usenet poster
 
Posts: 53
Default word to word macro with a table

how do i take data in one word table and create a macro to copy that data to
another word document table? tia.
  #2   Report Post  
Posted to microsoft.public.word.tables
Jay Freedman Jay Freedman is offline
external usenet poster
 
Posts: 9,854
Default word to word macro with a table

Ann wrote:
how do i take data in one word table and create a macro to copy that
data to another word document table? tia.


Answered in the docmanagement newsgroup (and it didn't belong there,
either).

--
Regards,
Jay Freedman
Microsoft Word MVP FAQ: http://word.mvps.org
Email cannot be acknowledged; please post all follow-ups to the newsgroup so
all may benefit.


  #3   Report Post  
Posted to microsoft.public.word.tables
StevenM[_2_] StevenM[_2_] is offline
external usenet poster
 
Posts: 169
Default word to word macro with a table

Ann,

Sub CopyTable()
If Selection.Information(wdWithInTable) = False Then
MsgBox "The cursor must be positioned in the table you want to
Copy." _
& vbCr & vbCr & "Position the cursor in a Table and run this macro
again."
Else
Selection.Tables(1).Select
Selection.Copy
Documents.Add
Selection.Paste
End If
End Sub

"Ann" wrote:

how do i take data in one word table and create a macro to copy that data to
another word document table? tia.

Reply
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
macro table width (in Word) Lynn Microsoft Word Help 3 January 19th 08 09:03 PM
Delete Word table with macro eb Microsoft Word Help 6 February 5th 07 05:47 PM
How do I create a macro that is a table in word InlovewithJJ Tables 1 April 29th 05 12:42 AM
macro in word table davidm Microsoft Word Help 1 February 21st 05 11:29 PM
Word 2003 Table AutoFormat vs Macro vs VBA Kind writer/user/programmer Tables 1 October 28th 04 03:14 PM


All times are GMT +1. The time now is 01:42 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"