Unfortunately AIS4U the application must be created solely in Word/vba (not that I would know how to do it with VB or in a dbase anyway )
I am creating a series of quotations for equipment that is technical in nature. The items in the list will vary depending on what type of equipment has been chosen and what options are included with the equipment. Each quotation template employs a userform containg a series of textboxes, comboboxes and checkboxes.
To aid with price changes, I have created a price list containing strSomeItemPrice for each item so updating prices (may occur once or twice a year) can be done in the VBE. Changing of names is highly unlikely. To explain, take for example, a car - a windscreen is called a basic windscreen and no one is likely to change it anytime soon. The total number of options is also unlikely to increase anytime soon.
One possible direction (kindly shown to me by Dkenny) would be to use an array that would be populated with items that meet my conditions, i.e. enabled and false. However, I don't know how to assign the price to each item in the array.
Still clueless
"Those things we must learn to do, we must learn by doing" (or hope somebody else will take pity and help out )
I've not yet tried the code in my actual document. Before implementing it I added it to a document on it's own to try and understand it a little better.
The code has been slightly modified from original because I could'nt get it to work, although it still doesn't work - I'm simply adding Array(5,2) to my document.
Any help would be appreciated.
"Those things we must learn to do, we must learn by doing" (or hope somebody else will take pity and help out )
I don't know if it's something I'm doing, but this doesn't seem to work. Unless I check checkbox 5, I simply get an error.
And if I do check checkbox5, only that value appears at my bookmark.
What I am trying to do is generate a list at my bookmark, which contains all items that are enabled yet false. For example, if checkbox1 and checkbox2 were the only boxes left that were both enabled and unchecked, then I would get: