+ Reply to Thread
Results 1 to 5 of 5

Copy and paste entire word document into excel spreadsheet

  1. #1
    Registered User
    Join Date
    10-29-2014
    Location
    Arlington, VA, USA
    MS-Off Ver
    Office 2013
    Posts
    7

    Copy and paste entire word document into excel spreadsheet

    Hey everyone

    I was wondering if someone could guide me to the proper resources or help me to come up with a macro for the following:

    Cell 1 Cell 2 Cell 3
    Hyperlinked Text (Word Doc) Full Text of Word Doc (Shrunk to Fit)


    Basically I have columns of hyperlinks to word documents and in the adjacent column, I'd like to have the copied and pasted content of those documents in the adjacent column, shrunk to fit.

    This would immensely help me because right now I am clicking the link, Ctrl+A, Ctrl+C the word document, closing the document, then Ctrl+V-ing each and every time.

    I tried to record a macro (in excel) but it seems that the code doesn't recognize the select all/copy functions done in the word document. I've also created a shortcut macro (in Word) just to simplify the select all/copy functions under one shortcut but it doesn't save me enough time.

    Thank you!!

  2. #2
    Registered User
    Join Date
    10-29-2014
    Location
    Arlington, VA, USA
    MS-Off Ver
    Office 2013
    Posts
    7

    Re: Copy and paste entire word document into excel spreadsheet

    anyone? at least tell me it isn't possible.

  3. #3
    Registered User
    Join Date
    10-29-2014
    Location
    Arlington, VA, USA
    MS-Off Ver
    Office 2013
    Posts
    7

    Re: Copy and paste entire word document into excel spreadsheet

    This is what I get, how can I get the macro to detect my select all/copy functions in the word document before pasting it into the adjacent cell in excel?

    Sub Macro4()
    '
    ' Macro4 Macro
    '
    ' Keyboard Shortcut: Ctrl+q
    '
    Range("C3").Select
    Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
    Range("D3").Select
    ActiveCell.FormulaR1C1 = _
    "ARTICLE TEXT......."
    "ARTICLE TEXT......."
    "ARTICLE TEXT......."
    "ARTICLE TEXT......."
    "ARTICLE TEXT......."
    "ARTICLE TEXT......."
    "ARTICLE TEXT......."
    Range("D3").Select
    With Selection
    .HorizontalAlignment = xlGeneral
    .VerticalAlignment = xlBottom
    .WrapText = False
    .Orientation = 0
    .AddIndent = False
    .IndentLevel = 0
    .ShrinkToFit = True
    .ReadingOrder = xlContext
    .MergeCells = False
    End With
    End Sub

  4. #4
    Registered User
    Join Date
    10-29-2014
    Location
    Arlington, VA, USA
    MS-Off Ver
    Office 2013
    Posts
    7

    Re: Copy and paste entire word document into excel spreadsheet

    Can anyone help me?

  5. #5
    Registered User
    Join Date
    10-29-2014
    Location
    Arlington, VA, USA
    MS-Off Ver
    Office 2013
    Posts
    7

    Re: Copy and paste entire word document into excel spreadsheet

    some "forum"...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Replies: 0
    Last Post: 09-04-2014, 03:32 AM
  2. Replies: 2
    Last Post: 04-29-2014, 10:06 AM
  3. copy data from excel and paste the data to word document in speciofic column.
    By vsabap in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-17-2012, 07:12 AM
  4. Copy data from Excel and paste it in a table in word document
    By shekhar in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-04-2012, 05:28 AM
  5. Replies: 1
    Last Post: 10-17-2005, 04:05 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1