Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 2
Default Currency Symbols in custom formats when imported from HTML?

If I want to display a number in yen currency, I can easily create a
custom format and type in "(alt-0165-release-alt)#,##0" for example.
This gets me the symbol I want and the cell still treated as a number.

But, how can I duplicate this same formatting when delivering HTML to
Excel through a web query, for example?

Creating a simple sheet, saving to html, then simplifying gets me this
result which works as I would like it to:

<head
<style
..excelYen {
mso-style-parent:style0;
mso-number-format:"\\„\#\,\#\#0\.00";
}
</style
</head
<body
<table<tr<td class="excelYen" align=right„123.46</td</tr</table
</body
</html

However, I have 2 questions:

1) Why the need for back-slashes in the mso-number-format? What is the
requirement of this string value and when are backslashes needed?

2) How can I deliver the same content but use ¥ as the yen symbol
instead of the actual embedded unicode character?

Any hints or pointers in the right direction would be greatly
appreciated!

Matt Kruse

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
Imported Text from two HTML tables looks same but is different bman342 Excel Discussion (Misc queries) 0 June 24th 06 06:12 PM
How do I insert currency symbols in Excel? The Angry Ant Excel Discussion (Misc queries) 1 June 27th 05 09:15 PM
Creating custom chart legen pallettes/styles symbols ChartDummy Charts and Charting in Excel 3 March 19th 05 03:20 AM
How do I make custom formats with superscript or subscript%3f eagle Excel Worksheet Functions 3 December 28th 04 08:48 PM
Custom Formats becky Excel Discussion (Misc queries) 6 December 24th 04 01:24 AM


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

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

About Us

"It's about Microsoft Excel"