Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default International Yes or No

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default International Yes or No

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default International Yes or No

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2,979
Default International Yes or No

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   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 6
Default International Yes or No

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
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
International Excel 4 Macro [email protected] Excel Discussion (Misc queries) 1 August 11th 06 02:59 PM
converting international characters in English in Excel 2003 [email protected] Excel Discussion (Misc queries) 0 May 10th 06 11:37 AM
International Equivalents kt Excel Worksheet Functions 0 August 24th 05 09:21 PM
International number separator bibi Excel Worksheet Functions 1 August 4th 05 07:13 AM
International number separator bibi Excel Worksheet Functions 0 August 3rd 05 06:49 PM


All times are GMT +1. The time now is 08:08 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"