Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 04-03-2020, 07:11 PM
dhouston1000 dhouston1000 is offline Any method of formatting a cell that will return a number value with pronounceable text. Windows 10 Any method of formatting a cell that will return a number value with pronounceable text. Office 2010
Novice
Any method of formatting a cell that will return a number value with pronounceable text.
 
Join Date: Jan 2020
Posts: 14
dhouston1000 is on a distinguished road
Default Any method of formatting a cell that will return a number value with pronounceable text.


Any method of formatting a cell that will return a number value with pronounceable text. cell contains "53,768" cell would return "fifty-three thousand, seven-hundred and sixty-eight".
Reply With Quote
  #2  
Old 04-04-2020, 08:45 AM
Logit Logit is online now Any method of formatting a cell that will return a number value with pronounceable text. Windows 10 Any method of formatting a cell that will return a number value with pronounceable text. Office 2007
Expert
 
Join Date: Jan 2017
Posts: 533
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

Convert numbers into words - Excel
Reply With Quote
  #3  
Old 04-04-2020, 12:22 PM
dhouston1000 dhouston1000 is offline Any method of formatting a cell that will return a number value with pronounceable text. Windows 10 Any method of formatting a cell that will return a number value with pronounceable text. Office 2010
Novice
Any method of formatting a cell that will return a number value with pronounceable text.
 
Join Date: Jan 2020
Posts: 14
dhouston1000 is on a distinguished road
Default

Thanks. I will give it a go.
Reply With Quote
  #4  
Old 04-04-2020, 12:30 PM
dhouston1000 dhouston1000 is offline Any method of formatting a cell that will return a number value with pronounceable text. Windows 10 Any method of formatting a cell that will return a number value with pronounceable text. Office 2010
Novice
Any method of formatting a cell that will return a number value with pronounceable text.
 
Join Date: Jan 2020
Posts: 14
dhouston1000 is on a distinguished road
Default

getting an error from this line


Cents = GetTens(Left(Mid(MyNumber, DecimalPlace + 1) & _ "00", 2))
Reply With Quote
  #5  
Old 04-04-2020, 12:47 PM
Logit Logit is online now Any method of formatting a cell that will return a number value with pronounceable text. Windows 10 Any method of formatting a cell that will return a number value with pronounceable text. Office 2007
Expert
 
Join Date: Jan 2017
Posts: 533
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

Not certain what would cause the error. I've run the code here and it works fine.

Perhaps post your workbook ?
Reply With Quote
  #6  
Old 04-04-2020, 12:57 PM
dhouston1000 dhouston1000 is offline Any method of formatting a cell that will return a number value with pronounceable text. Windows 10 Any method of formatting a cell that will return a number value with pronounceable text. Office 2010
Novice
Any method of formatting a cell that will return a number value with pronounceable text.
 
Join Date: Jan 2020
Posts: 14
dhouston1000 is on a distinguished road
Default

I guess I need to learn MSVB.
Reply With Quote
  #7  
Old 04-04-2020, 01:01 PM
Logit Logit is online now Any method of formatting a cell that will return a number value with pronounceable text. Windows 10 Any method of formatting a cell that will return a number value with pronounceable text. Office 2007
Expert
 
Join Date: Jan 2017
Posts: 533
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

Post your workbook without confidential information ... I'll look at it for you.

Reply With Quote
  #8  
Old 04-04-2020, 01:04 PM
dhouston1000 dhouston1000 is offline Any method of formatting a cell that will return a number value with pronounceable text. Windows 10 Any method of formatting a cell that will return a number value with pronounceable text. Office 2010
Novice
Any method of formatting a cell that will return a number value with pronounceable text.
 
Join Date: Jan 2020
Posts: 14
dhouston1000 is on a distinguished road
Default

Fairly new here. Not sure where to upload a file after starting a post.
Reply With Quote
  #9  
Old 04-04-2020, 01:06 PM
Logit Logit is online now Any method of formatting a cell that will return a number value with pronounceable text. Windows 10 Any method of formatting a cell that will return a number value with pronounceable text. Office 2007
Expert
 
Join Date: Jan 2017
Posts: 533
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

Down below where you write your messages ... click on GO ADVANCED. Look around after that to see about attaching a file.
Reply With Quote
  #10  
Old 04-04-2020, 01:11 PM
dhouston1000 dhouston1000 is offline Any method of formatting a cell that will return a number value with pronounceable text. Windows 10 Any method of formatting a cell that will return a number value with pronounceable text. Office 2010
Novice
Any method of formatting a cell that will return a number value with pronounceable text.
 
Join Date: Jan 2020
Posts: 14
dhouston1000 is on a distinguished road
Default Found it.

Found it. It is a macro enabled workbook.
Attached Files
File Type: xlsm deaths.xlsm (18.8 KB, 5 views)
Reply With Quote
  #11  
Old 04-04-2020, 01:17 PM
Logit Logit is online now Any method of formatting a cell that will return a number value with pronounceable text. Windows 10 Any method of formatting a cell that will return a number value with pronounceable text. Office 2007
Expert
 
Join Date: Jan 2017
Posts: 533
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

The original code from the website had two lines (the one you mentioned and another one further down) that were using the "underscore" symbol. That allows a line of code to be broken down into shorter lengths so the entire line can be visible to the coder when writing the code. Otherwise, some lines of code would extend far off to the right side of the coding window and make it difficult to view.

In any case, the corrected version is attached.

You can experiment with the code to get rid of the "Cents" and "Dollars" so all you are left with is the number itself.

Might want to experiment with a copy of the file so you don't mess up the original one.

Cheers and stay healthy !
Attached Files
File Type: xlsm deaths.xlsm (20.4 KB, 5 views)
Reply With Quote
  #12  
Old 04-04-2020, 01:38 PM
dhouston1000 dhouston1000 is offline Any method of formatting a cell that will return a number value with pronounceable text. Windows 10 Any method of formatting a cell that will return a number value with pronounceable text. Office 2010
Novice
Any method of formatting a cell that will return a number value with pronounceable text.
 
Join Date: Jan 2020
Posts: 14
dhouston1000 is on a distinguished road
Default

Sweet. Thanks!
Reply With Quote
  #13  
Old 04-04-2020, 01:59 PM
Logit Logit is online now Any method of formatting a cell that will return a number value with pronounceable text. Windows 10 Any method of formatting a cell that will return a number value with pronounceable text. Office 2007
Expert
 
Join Date: Jan 2017
Posts: 533
Logit is a jewel in the roughLogit is a jewel in the roughLogit is a jewel in the rough
Default

You are welcome. Stay healthy !
Reply With Quote
Reply

Tags
format numbers, pronounceable, text

Thread Tools
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
for visible cells (filtered), how find value lowest than 4.00 and return the cell number murfy69 Excel 6 08-03-2017 12:03 AM
Any method of formatting a cell that will return a number value with pronounceable text. Return Max Text or Number Value based on Criteria kwilson307 Excel 1 04-20-2017 05:07 AM
Pasting text from Excel cell into word without creating a table, and keeping the in-cell formatting hanvyj Excel Programming 0 08-28-2015 01:15 AM
Find text within cell and return column and row title next to the name on a new sheet. tanyabowring@live.co.uk Excel Programming 2 03-26-2015 01:48 AM
Any method of formatting a cell that will return a number value with pronounceable text. Search for multiple texts in cell, return specific text mariur89 Excel 4 12-14-2014 01:33 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 04:57 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft