Results 1 to 3 of 3

Thread: VBA How to pass formatted text from Excel to MS Word

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Administrator Excel Fox's Avatar
    Join Date
    Mar 2011
    Posts
    1,401
    Rep Power
    10
    Can you upload a sample output which needs to come in Word?
    A dream is not something you see when you are asleep, but something you strive for when you are awake.

    It's usually a bad idea to say that something can't be done.

    The difference between dream and aim, is that one requires soundless sleep to see and the other requires sleepless efforts to achieve

    Join us at Facebook

  2. #2
    Junior Member
    Join Date
    Mar 2015
    Posts
    2
    Rep Power
    0
    Hi Admin! Thanks for the prompt reply.

    Userform1.Textbox1.Value="Hi I am John."
    Userform1.Textbox2.Value="Hola Hi I,m Hjhn John"

    As per code of MikeEricson's in VBA routine to perform Text Diff
    Expected output is in the image attached.

    1.jpg


    The code which adds this formatting is in my first post on this thread.
    Last edited by johnweber; 03-01-2015 at 08:44 PM.

Similar Threads

  1. Excel Chart into Word VBA
    By dhiraj.ch185 in forum Word Help
    Replies: 3
    Last Post: 12-26-2012, 11:23 AM
  2. VBA To Pass A Variable In An Excel Formula
    By devcon in forum Excel Help
    Replies: 4
    Last Post: 12-17-2012, 09:12 PM
  3. FORMATTED Flexible Concatenation Function
    By Rick Rothstein in forum Rick Rothstein's Corner
    Replies: 1
    Last Post: 10-14-2012, 03:48 PM
  4. How to extract all text from a word file?
    By vsrawat in forum Word Help
    Replies: 3
    Last Post: 09-25-2012, 10:24 PM
  5. Speed up excel to word VBA
    By bcostin in forum Excel Help
    Replies: 3
    Last Post: 05-22-2012, 10:49 AM

Posting Permissions

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