Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-13-2014, 06:45 PM
Nicholas_jay Nicholas_jay is offline Linking to word to excel Windows XP Linking to word to excel Office 2010 32bit
Novice
Linking to word to excel
 
Join Date: Apr 2014
Posts: 3
Nicholas_jay is on a distinguished road
Default Linking to word to excel

Hi all,



I just have a query about linking a word document to an excel document. So what I am hoping to do is;

I have created a survey in word where people simply tick a checkbox depending on their answer.

What I would like to do is once a box is ticked/checked, the information that correlates to this is input into an excel document.

For example:

Question - What products do you recycle?
"I always recycle all of my plastic bottles"
"I never recycle"

If they were to check "I never recycle" , then this information will go straight to an excel document.

Is this even possible?

Any help will be much appreciated.

Nick
Reply With Quote
  #2  
Old 04-13-2014, 09:22 PM
macropod's Avatar
macropod macropod is online now Linking to word to excel Windows 7 32bit Linking to word to excel Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,369
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

Possible, yes. Advisable, no.

Having Word work this way means that every time a survey document gets opened/updated, that Word session has to start Excel and, when data are added/edited, update the workbook. For however long that takes, no-one else can use the workbook. So, if someone opens a survey and doesn't close it, everyone else will be locked out. Plus it also means every survey participant needs to be able to access & update your workbook, in which case, you may as well just create a userform in the workbook and let them complete the survey there. Furthermore, by giving each user access to the workbook, either through a userform or a Word document, you create for yourself all sorts of issues related to tracking whether a previously-completed survey is being re-opened & edited and, if so, how to identify the data row to update, rather than adding a new row.

For the above reasons, it's advisable to collate the survey files into a single folder and, once you're done gathering the data, run a macro from Excel that goes through all the files and extracts the data.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 04-13-2014, 09:55 PM
Nicholas_jay Nicholas_jay is offline Linking to word to excel Windows XP Linking to word to excel Office 2010 32bit
Novice
Linking to word to excel
 
Join Date: Apr 2014
Posts: 3
Nicholas_jay is on a distinguished road
Default

Thanks for your suggestion Paul. The purpose of the two forms was to save time during an external audit. The excel sheet would be passed on to the auditor with all the necessary data. But I suppose your other option would work too. I am new to macros but if you had a way to achieve this I am all ears/eyes. Cheers for the help.

Nick
Reply With Quote
  #4  
Old 04-13-2014, 10:10 PM
macropod's Avatar
macropod macropod is online now Linking to word to excel Windows 7 32bit Linking to word to excel Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,369
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

I can provide Excel code for that easily enough, but you'll need different code depending on whether your form uses formfields or content controls - you should not have both in the same document, because they aren't designed for use together and can lead to strange document behaviour when both are used in the same document. So, when you've sorted out what kinds of checkboxes you'll be using, post back and I'll provide some code to get you started.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #5  
Old 04-13-2014, 10:15 PM
Nicholas_jay Nicholas_jay is offline Linking to word to excel Windows XP Linking to word to excel Office 2010 32bit
Novice
Linking to word to excel
 
Join Date: Apr 2014
Posts: 3
Nicholas_jay is on a distinguished road
Default

Awesome, cheers for that ill be in touch soon.
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Linking Excel into a MS Word??? markpymm Office 0 07-05-2013 04:12 AM
Linking to word to excel linking to excel from word jillapass Word VBA 5 06-08-2012 01:28 AM
Linking to word to excel linking word from Excel Lorna B Word 1 03-22-2012 03:36 PM
Linking Excel to Word engineer_in_training Word 0 01-06-2010 01:30 PM
Linking from Excel to Word streng Word 4 10-28-2008 08:23 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:44 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft