Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 9
Default C# AddIn that Formats Cells for Feet, Inches and Fractions of an Inch

I want to create an AddIn for Excel that formats the display of a cell into
Feet, Inches and Fractions of an Inch.

My first preference is to simply have it available in the Format Cells,
Number Categories called "Feet & Inches", and provide various Types in the
drop down box. E.g. "Round to nearest Foot, Round to nearest half inch,
Round to nearest quarter inch, Round to nearest eighth inch, Round to
nearest sixteenth inch".

Here are some other nice to have features in this:

Provide a user defined delimiter that goes in between the feet and inches;
e.g. a blank space, a dash, null (default would be a space)
Provide a user defined delimiter that goes in between the inches and the
fractions; e.g. a blank space, a dash, null (default would be a dash)
Check box to display Feet (unchecked would show 25" rather than 2' 1")
Display negative number with minus sign, or inside parentheses (), using
Red, etc.

Any advice is appreciated.

I have .NET 2008, I'm just not seeing much info on this subject... code
examples and pointing me to any suggested reading is very helpful.

Mark

---- Posted via Pronews.com - Premium Corporate Usenet News Provider ----
http://www.pronews.com offers corporate packages that have access to 100,000+ newsgroups
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
Display a number in feet inches and fractions of and inch Michael Peace[_2_] Excel Worksheet Functions 1 April 15th 09 11:34 PM
Convert inches & display as Feet Inches and Fractions -- BUG FREE Mark Main Excel Worksheet Functions 12 November 26th 08 08:50 PM
Formula converts a value to Feet Inches and fractions of an inch Mark Main Excel Discussion (Misc queries) 1 October 17th 08 05:06 PM
How do I use feet and inches (including fractions of inches) MRZ Excel Worksheet Functions 2 September 18th 08 10:35 PM
Converting from feet, inches and fractions to inches and decimal p Dee Setting up and Configuration of Excel 5 September 18th 07 04:18 PM


All times are GMT +1. The time now is 07:22 PM.

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"