Solved

how to link excel with word

Posted on 2016-10-07
6
71 Views
Last Modified: 2016-10-11
I have names and address's in excel and i want to link them to word, by that i mean when i choose an address in excel
i want a invoice to pop up if thats possible

Thanks Davy
0
Comment
Question by:davy999
6 Comments
 
LVL 31

Expert Comment

by:Helen_Feddema
ID: 41834316
This is quite doable.  You would need a Word invoice template with a bookmark or some other indication of where the name and address go.  What about the billed items on the invoice?  Where do they come from?  The name and address would be picked up from one or more cells in the workbook and pasted to the bookmark in the Word document, which could then be saved, or printed, or made into a PDF, and possibly emailed.  The process could be initiated from a button in the workbook.  Can you upload a sample workbook with some addresses in it?
0
 
LVL 20

Expert Comment

by:n2fc
ID: 41834417
The feature you want to use in Word is called "mail merge"...

Basically, you create an Excel database and you then "fill-in" the desired fields into the Word document...

More info on this feature here:
https://support.office.com/en-us/article/Mail-merge-using-an-Excel-spreadsheet-858c7d7f-5cc0-4ba1-9a7b-0a948fa3d7d3?ui=en-US&rs=en-US&ad=US&fromAR=1

and here:
https://support.microsoft.com/en-us/kb/294683
0
 
LVL 31

Expert Comment

by:Helen_Feddema
ID: 41834539
If the data transfer is to be initiated from Excel, I think VBA code running from Excel would do the job better.  Mail merge runs from Word, usually to create a set of documents.
0
Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

 
LVL 18

Accepted Solution

by:
Roy_Cox earned 500 total points
ID: 41834718
Why use Word with Excel for this?

Build an invoice template in Excel. Here's a simple example that has a Customer database that can populate the template  with the customer address based on the account number, using Data Validation list in C7 of the template.

Basic Invoice for Excel - auto-numbering
 
This Excel Invoice Template based on Excel, provides a fill In the blank invoice form and is capable of creating and calculating invoices. The template shows quantity, description, unit price, taxable status, and amount per line. Sub-total, tax and total amount are computed from the line items automatically. With the intuitive user interface, creating invoices is as easy as filling a form.
There are many such invoice templates available and it’s relatively easy to create your own. However,  these templates are a great starting point, but one major shortfall is that they won't automatically generate unique invoice numbers—you'll need a macro for that. This invoice is offered not specifically for you to use, although it is fully functional, but to demonstrate how to write the code to generate unique numbers for your invoices.
The Excel Invoice Workbook consist of a template worksheet which you can change as much as you want, add your business details, change the colours, etc. However, the cell I7 must contain the invoice number or else the code will not work properly. You can use a different cell but you must remember to change the code accordingly. The template sheet has a shape with the first macro attached to it which acts as a button to run the code.
The Macro Code

If you've never used macros before it would be a good idea to read this.
Macro #1: Creates the a new sheet and generate the next invoice number. When the new sheet is created the code also deletes the add new sheet button as it will not be needed on this sheet. At the same time it makes a different button visible. This button runs a macro to save the invoice to a new workbook.
Macro #2 provides an option to save the new sheet as a separate workbook. The code requires a separate folder named “Invoice Archive” to be held within the folder that contains the Invoice workbook. When used the macro saves and renames the new invoice to a new workbook in this folder. The button is removed as it will no longer be needed and the code will not work in the new workbook.

As the name implies this example although usable is extremely basic. A true invoicing program should have databases  for customers, invoice records, sales data. In addition it should be possible to email the invoice to your customers as a pdf file. It is also desirable to be able to produce quotes and credit notes. These can also be added to the workbook.

For more information and links to writing code see here
Basic-Invoice.xlsm
0
 
LVL 6

Author Closing Comment

by:davy999
ID: 41837958
Thanks again Roy
0
 
LVL 18

Expert Comment

by:Roy_Cox
ID: 41838685
Pleased  to help again.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I would like to show you some basics you can do with Mailings in MS Word. It´s quite handy feature you can use for creating envelopes, labels, personalized letters etc. First question could be what is this feature good for? Mailing can really he…
When you see single cell contains number and text, and you have to get any date out of it seems like cracking our heads.
This Micro Tutorial demonstrates how to create Excel charts: column, area, line, bar, and scatter charts. Formatting tips are provided as well.
This Micro Tutorial will demonstrate how to use a scrolling table in Microsoft Excel using the INDEX function.

790 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question