+ Reply to Thread
Results 1 to 5 of 5

VBA code - Transfering from Excel to Word and saving the Word doucment

  1. #1
    Forum Contributor
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    10
    Posts
    148

    VBA code - Transfering from Excel to Word and saving the Word doucment

    Hi all,

    Me again! I have the following code, which allows me to transfer information from an excel document to a specific word document letter template, but I would also like to save the word document in a specific folder (which is named after a specific cell in excel and is differnt from the folder that the original word template is located) and give it a specific name based on cell values in the excel worksheet. The file name should be based upon information in cells B17 & C17 and location is T:\Compliance\Complaints and the folder name which is in cell G11. I've been attempting to write without much sucess, any help wold be greatly appreciated.

    Please let me know, if you need me to clarify anything

    Cheers



    Please Login or Register  to view this content.
    Last edited by ShakJames; 02-26-2015 at 10:18 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,601

    Re: VBA code - Transfering from Excel to Word and saving the Word doucment

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  3. #3
    Forum Contributor
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    10
    Posts
    148

    Re: VBA code - Transfering from Excel to Word and saving the Word doucment

    Now corrected. Apologies for the rule break.

  4. #4
    Forum Guru HaHoBe's Avatar
    Join Date
    02-19-2005
    Location
    Hamburg, Germany
    MS-Off Ver
    work: 2016 on Win10 (notebook), private: 2019 on Win10 (desktop), 2019 on Win11 (notebook)
    Posts
    8,197

    Re: VBA code - Transfering from Excel to Word and saving the Word doucment

    Hi, ShakJames,

    Your post does not comply with Rule 8 of our Forum RULES. Do not crosspost your question on multiple forums without including links here to the other threads on other forums.

    Cross-posting is when you post the same question in other forums on the web. The last thing you want to do is waste people's time working on an issue you have already resolved elsewhere. We prefer that you not cross-post at all, but if you do (and it's unlikely to go unnoticed), you MUST provide a link (copy the url from the address bar in your browser) to the cross-post.

    Expect cross-posted questions without a link to be closed and a message will be posted by the moderator explaining why. We are here to help so help us to help you!

    Read this to understand why we ask you to do this, and then please edit your first post to include links to any and all cross-posts in any other forums (not just this site).

    http://www.ozgrid.com/forum/showthread.php?t=193387

    Ciao,
    Holger
    Use Code-Tags for showing your code: [code] Your Code here [/code]
    Please mark your question Solved if there has been offered a solution that works fine for you

  5. #5
    Forum Contributor
    Join Date
    08-07-2014
    Location
    London
    MS-Off Ver
    10
    Posts
    148

    Re: VBA code - Transfering from Excel to Word and saving the Word doucment

    Thanks for the heads up, I'm still learning the full rules, so making a few mistakes. Apologies.

+ 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. [SOLVED] My MS word is not saving files after I ran a code in excel
    By VKS in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 05-22-2013, 12:06 AM
  2. Transfering information from Excel to Word using VBA
    By WilliamF1001 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 03-05-2012, 03:31 AM
  3. transfering data from excel to word
    By miyat in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 12-09-2009, 03:54 AM
  4. Transfering Excel Graphs to Word
    By Jzfromltown in forum Excel General
    Replies: 8
    Last Post: 12-13-2006, 07:42 AM
  5. Excel data not transfering to Word. Colums are expanded.
    By carolsue1313 in forum Excel - New Users/Basics
    Replies: 2
    Last Post: 06-24-2005, 04:05 PM

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