![]() |
#1
|
|||
|
|||
![]()
Hi !
I guess I need some help with my word document. I would like to make a document for work. The format will be used so people can subscribe themself for a photoshoot. There are many options, so they must tick one or more subjects they like. My problem: Every photoshoot has another time, example: a babyshoot takes about 3 houres and a marriage shoot takes about 1.5 houres. I would like to have a textbox where stands automatically witch time they have. Example: when they activate babyshoot, there must stand 3 houres. But when they take a babyshoot and a marriage shoot, there must stand 4.5 houres. I have tried the 'if ... then' formule, but that didn't work, and I have no idea what's the right code for VBA. I have attached the file, because it's a complex document ![]() Hope you guys can help me ! |
#2
|
||||
|
||||
![]()
For a form to be used by others, you should restrict your form to the use of formfields, since:
• they can be made to do calculations without the need for macros; and • content controls require macro and are unusable on Macs. Also, instead of using checkbox formfields, if you need to use a choice for calculations, you should consider using dropdown formfields.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#3
|
|||
|
|||
![]()
I'm sorry, I don't understand, is there a difference between formfields? Where can I find the one you mean?
But when I choose for dropdown formfields instead of checkbox formfields, they can't choose multiple shoots.. |
#4
|
||||
|
||||
![]()
Your document has content controls, formfields are quite different and are access via the 'Legacy Tools' button in the Controls group where you selected the content controls from.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#5
|
|||
|
|||
![]()
Do I have to switch all content controls into formfields or only my checkboxes?
(In my word it's called Active X elements I guess ![]() There's a content control with an calender, but this is not possible to make it with a formfield, or is it? |
#6
|
||||
|
||||
![]()
As I have already said, content controls don't work on Macs. Besides which, formfeilds and content controls don't play well together. There isn't a calendar formfield, but you can format them for date input.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#7
|
|||
|
|||
![]()
I have changed the checkboxes into Active X elements, see the attachement.
Actually, this is a trial format. The real format will be used by taking of psychodiagnostic instruments with psychiatric people (but I can't upload that format). So I think that this format will not be used by someone who has a Mac (In Belgium, Mac is quite expensive ![]() But, I still have to use VBA for this, right? is it possible with the 'if..then' string, now? |
#8
|
||||
|
||||
![]()
ActiveX controls don't work on Macs, either...
You can do the lot with formfields & formula fields, with no need for macros, and have a document that works equally well on PCs and Macs.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#9
|
|||
|
|||
![]()
After a long search, I have found the legacy tools and I've changed my checkboxes into formfields.
What's next? ![]() |
#10
|
||||
|
||||
![]()
As I said in a previous reply, if you want the calculations to happen automatically without macros, you need to use dropdowns instead of checkboxes. I also said you shouldn't try to use content controls and formfields in the same document. Try the attached.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Creating AutoFill form - AutoFill information depending on a selection. | RyanHarper | Word | 3 | 06-15-2015 01:01 PM |
![]() |
Craigof | Word VBA | 1 | 04-15-2015 02:28 PM |
![]() |
biffle0764 | Word | 2 | 05-09-2012 12:54 PM |
![]() |
revans611 | Word | 1 | 11-29-2010 11:57 AM |
Help with Combination function | sanasath | Excel | 0 | 12-13-2005 07:24 AM |