Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have a spreadsheet that get used in a number of countries.
Any I aim to keep the amount of VBA to a minimum. There is current year cost data sorted via a pivot table into category totals. Then the user is given the option to use this data in next years forecast. So I would like to have a "TRUE or FALSE" value in a field from which I can then manipulate the pivottable data. The advantage of using true or false is that it changes language with each user to their default. Trouble is that I would like to make it a bit more friendly by using data validation. Each language's "Yes or No" can be got from the VBA XL constants for yes and no stored in named cells in a hidden worksheet each time the spreadsheet is opened. The issue is to show these named text values in the Validation list but store TRUE or FALSE in the cell. Can this be done? |
#2
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
You could use programming to change the selected item to true or false.
There's an example he http://www.contextures.com/excelfiles.html Under Data Validation, look for 'DV0004 - Data Validation Change' Chris_UK wrote: I have a spreadsheet that get used in a number of countries. Any I aim to keep the amount of VBA to a minimum. There is current year cost data sorted via a pivot table into category totals. Then the user is given the option to use this data in next years forecast. So I would like to have a "TRUE or FALSE" value in a field from which I can then manipulate the pivottable data. The advantage of using true or false is that it changes language with each user to their default. Trouble is that I would like to make it a bit more friendly by using data validation. Each language's "Yes or No" can be got from the VBA XL constants for yes and no stored in named cells in a hidden worksheet each time the spreadsheet is opened. The issue is to show these named text values in the Validation list but store TRUE or FALSE in the cell. Can this be done? -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
#3
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Debra
Thanks, certainly a good approach. I was hoping to format a cell containing a true or false to show something else (in this case yes or no). Thus the user would see something they can easily understand and I could make cell formulas do the work (less maintenance/update overhead!). Unless my memory is playing tricks I thought that an earlier version of Excel (Excel97?) allowed you to format cells containing logicals. Hey my memory maybe playing tricks and I need to increase my intake of fish oils! Regards Chris_UK "Debra Dalgleish" wrote: You could use programming to change the selected item to true or false. There's an example he http://www.contextures.com/excelfiles.html Under Data Validation, look for 'DV0004 - Data Validation Change' Chris_UK wrote: I have a spreadsheet that get used in a number of countries. Any I aim to keep the amount of VBA to a minimum. There is current year cost data sorted via a pivot table into category totals. Then the user is given the option to use this data in next years forecast. So I would like to have a "TRUE or FALSE" value in a field from which I can then manipulate the pivottable data. The advantage of using true or false is that it changes language with each user to their default. Trouble is that I would like to make it a bit more friendly by using data validation. Each language's "Yes or No" can be got from the VBA XL constants for yes and no stored in named cells in a hidden worksheet each time the spreadsheet is opened. The issue is to show these named text values in the Validation list but store TRUE or FALSE in the cell. Can this be done? -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
#4
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Perhaps you could use 1 and 0 instead of TRUE and FALSE, then use a
custom number format to display the related words. Chris_UK wrote: Debra Thanks, certainly a good approach. I was hoping to format a cell containing a true or false to show something else (in this case yes or no). Thus the user would see something they can easily understand and I could make cell formulas do the work (less maintenance/update overhead!). Unless my memory is playing tricks I thought that an earlier version of Excel (Excel97?) allowed you to format cells containing logicals. Hey my memory maybe playing tricks and I need to increase my intake of fish oils! Regards Chris_UK "Debra Dalgleish" wrote: You could use programming to change the selected item to true or false. There's an example he http://www.contextures.com/excelfiles.html Under Data Validation, look for 'DV0004 - Data Validation Change' Chris_UK wrote: I have a spreadsheet that get used in a number of countries. Any I aim to keep the amount of VBA to a minimum. There is current year cost data sorted via a pivot table into category totals. Then the user is given the option to use this data in next years forecast. So I would like to have a "TRUE or FALSE" value in a field from which I can then manipulate the pivottable data. The advantage of using true or false is that it changes language with each user to their default. Trouble is that I would like to make it a bit more friendly by using data validation. Each language's "Yes or No" can be got from the VBA XL constants for yes and no stored in named cells in a hidden worksheet each time the spreadsheet is opened. The issue is to show these named text values in the Validation list but store TRUE or FALSE in the cell. Can this be done? -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
#5
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Debra
Then we are back to some VBA to get the right words for the custom format, very do-able however not as neat as I had hoped. Thanks again "Debra Dalgleish" wrote: Perhaps you could use 1 and 0 instead of TRUE and FALSE, then use a custom number format to display the related words. Chris_UK wrote: Debra Thanks, certainly a good approach. I was hoping to format a cell containing a true or false to show something else (in this case yes or no). Thus the user would see something they can easily understand and I could make cell formulas do the work (less maintenance/update overhead!). Unless my memory is playing tricks I thought that an earlier version of Excel (Excel97?) allowed you to format cells containing logicals. Hey my memory maybe playing tricks and I need to increase my intake of fish oils! Regards Chris_UK "Debra Dalgleish" wrote: You could use programming to change the selected item to true or false. There's an example he http://www.contextures.com/excelfiles.html Under Data Validation, look for 'DV0004 - Data Validation Change' Chris_UK wrote: I have a spreadsheet that get used in a number of countries. Any I aim to keep the amount of VBA to a minimum. There is current year cost data sorted via a pivot table into category totals. Then the user is given the option to use this data in next years forecast. So I would like to have a "TRUE or FALSE" value in a field from which I can then manipulate the pivottable data. The advantage of using true or false is that it changes language with each user to their default. Trouble is that I would like to make it a bit more friendly by using data validation. Each language's "Yes or No" can be got from the VBA XL constants for yes and no stored in named cells in a hidden worksheet each time the spreadsheet is opened. The issue is to show these named text values in the Validation list but store TRUE or FALSE in the cell. Can this be done? -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html -- Debra Dalgleish Contextures http://www.contextures.com/tiptech.html |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
International Excel 4 Macro | Excel Discussion (Misc queries) | |||
converting international characters in English in Excel 2003 | Excel Discussion (Misc queries) | |||
International Equivalents | Excel Worksheet Functions | |||
International number separator | Excel Worksheet Functions | |||
International number separator | Excel Worksheet Functions |