Consulting

Results 1 to 7 of 7

Thread: Solved: VBA Transfering data from excel into a word document.

  1. #1

    Solved: VBA Transfering data from excel into a word document.

    thanks new thread posted in Word forums since now its a word question.

    EDIT: This original post has been deleted by iamthebest the original question stated it was university assignment work where the question was to split the word "Quote" from a string "This is a quote...." from several lines, originally code was asked for to perform the task
    Last edited by iamthebest; 11-09-2008 at 01:03 AM.

  2. #2
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location
    Quote Originally Posted by iamthebest
    Just a note: I dont expect the answer to be given straight out to me, any guidance will help alot though.
    Thats good as we have a policy here on giving help with assignments or homework!

    That said you need to post what code you have to show you have actually worked on it.

    You might want to explore the worksheet function MID, and it would look like this: =MID(A1,11,5) i will let you fathom out why the figures and what they do, you can call on a worksheet function in vba, you could also look at the VBA "Like" and Option Compare Text, there are quite a few ways to do what you need, try exploring the help files.
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

  3. #3
    Finished the first part =) thanks. now the bookmark problem remains.

  4. #4
    thx
    Last edited by iamthebest; 11-09-2008 at 01:03 AM.

  5. #5
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location
    iamthebest, now that you have deleted your first post this thread makes no sense, please do not do this again!!!
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

  6. #6
    Moderator VBAX Wizard lucas's Avatar
    Joined
    Jun 2004
    Location
    Tulsa, Oklahoma
    Posts
    7,323
    Location
    And where is the link to the word forum thread?
    Steve
    "Nearly all men can stand adversity, but if you want to test a man's character, give him power."
    -Abraham Lincoln

  7. #7
    Moderator VBAX Guru Simon Lloyd's Avatar
    Joined
    Sep 2005
    Location
    UK
    Posts
    3,003
    Location
    This is it...no relation between the two and he doesn't mention that its a university assignment! iamthebest's word thread
    Regards,
    Simon
    Please read this before cross posting!
    In the unlikely event you didn't get your answer here try Microsoft Office Discussion @ The Code Cage
    If I have seen further it is by standing on the shoulders of giants.
    Isaac Newton, Letter to Robert Hooke, February 5, 1675 English mathematician & physicist (1642 - 1727)

Posting Permissions

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