Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-09-2014, 02:46 AM
Cellendhyll Cellendhyll is offline How to create a table with a number of line depending a number entered by user Windows 7 32bit How to create a table with a number of line depending a number entered by user Office 2007
Novice
How to create a table with a number of line depending a number entered by user
 
Join Date: Jul 2014
Posts: 2
Cellendhyll is on a distinguished road
Default How to create a table with a number of line depending a number entered by user

Hello every one,



This is my first post on this forum so I think it would be more polite to start by presenting myself a bit. I am a 23 years old student in engineering in Poland although I'm French (I fell for a Polish girl ).

In my internship, I have been assigned the task to create a questionnaire.
I've never done it before but I looked up some tutorial and I couldn't find one thing.
In order to conduct this study, I need for instance to ask questions about people living in a house.
What I would like to do is:
- ask a question about how many people live in the house (done)
- create a table to store information about those people. I would like this table to have a number of lines equal to the number of people in the house +1

Voilą!
I hope that it's clear enough and that I'm in the good section of the forum
Thank you all
Reply With Quote
  #2  
Old 07-09-2014, 10:50 PM
macropod's Avatar
macropod macropod is offline How to create a table with a number of line depending a number entered by user Windows 7 32bit How to create a table with a number of line depending a number entered by user Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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

Try something based on the attached. The document has a content control into which you input the # and an on-exit macro that updates the table when you exit the control. Since I don't know what information you want to collect about each resident, I made a few guesses.
Attached Files
File Type: zip Survey Table.zip (33.3 KB, 22 views)
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
  #3  
Old 07-10-2014, 02:04 AM
Cellendhyll Cellendhyll is offline How to create a table with a number of line depending a number entered by user Windows 7 32bit How to create a table with a number of line depending a number entered by user Office 2007
Novice
How to create a table with a number of line depending a number entered by user
 
Join Date: Jul 2014
Posts: 2
Cellendhyll is on a distinguished road
Default

Ok thank you very much!
Do you know a website to learn how to code in VBA? I know Java so I'm not afraid of code but I would need to learn how VB language works.
Reply With Quote
  #4  
Old 07-10-2014, 05:49 AM
macropod's Avatar
macropod macropod is offline How to create a table with a number of line depending a number entered by user Windows 7 32bit How to create a table with a number of line depending a number entered by user Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,962
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'm not aware of any websites with comprehensive Word VBA tutorials. My own VBA skills are basically self-taught. There are, of course, plenty of books on VBA programming.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to create a table with a number of line depending a number entered by user Mail Merge to create specific number of table rows flackend Mail Merge 4 12-01-2023 02:49 PM
How to create a table with a number of line depending a number entered by user How to format a TOC (level 1) using a number, but have the number hidden in the text porpoiseoil Word 1 09-13-2014 12:53 PM
Page number with chapter number but not from Heading 1 alpruett Word 5 06-04-2014 02:00 PM
number in footnote line ScientificKat Word 2 07-09-2012 06:25 AM
How to create a table with a number of line depending a number entered by user Making sure the correct number of characters are entered. leroytrolley Excel 1 07-25-2008 06:38 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:03 AM.


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