Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto fit to window - Word (Excel Pasted table)

Status
Not open for further replies.

reimbursement

Programmer
May 5, 2003
7
US
I am copying text from Excel(2002) to word. When I try to record a macro to paste and resize to fit window, the option to autofitwindow is grayed. However, I can complete the autofitwindow after stopping the macro record. Any help would be appreciated. The text being copied translates into about 13" when pasted into word.
 
This option is available for table, this resizes first table in document with this code:
[tt]ThisDocument.Tables(1).AutoFitBehavior (wdAutoFitWindow)[/tt]

combo
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top