Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 12-31-2013, 03:53 PM
fumei fumei is offline How to use this function in microsoft word? Windows 7 64bit How to use this function in microsoft word? Office XP
Expert
 
Join Date: Jan 2013
Posts: 440
fumei is on a distinguished road
Default

Works perfectly for me.

Code:
Sub TryIt()
Selection.TypeText ConvertCurrencyToEnglish("234.56")
End Sub
And I get:

Two Hundred Thirty Four Dollars And Fifty Six Cents



I did have to carefully clean up the copy and paste from that web page. It added a whole bunch of spaces. But the code works in Word. There is no syntax error in the code itself. If you are getting one there is something wrong with the text you are using.
Reply With Quote
  #2  
Old 12-31-2013, 05:11 PM
kahheng93 kahheng93 is offline How to use this function in microsoft word? Windows 7 32bit How to use this function in microsoft word? Office 2007
Novice
How to use this function in microsoft word?
 
Join Date: Dec 2013
Posts: 5
kahheng93 is on a distinguished road
Default

Can i know what is that code you posted for? And i thought spaces doesnt matter in code? Sorry still new at this x.x
Reply With Quote
Reply



Similar Threads
Thread Thread Starter Forum Replies Last Post
Creating a graph for Future Value function (FV function) bmoody Excel 2 11-06-2013 10:52 AM
[HELP]Word: sub or function not defined royankidding Word VBA 0 08-29-2013 12:11 AM
OnClick function in Word Lakshit Word 0 09-27-2011 12:11 AM
Is there a function on MS Word showing the lastest changes made on a word file? _____ Word 2 10-30-2010 05:33 AM
Inserting citations using the reference function in Microsoft Word 2007? aeyara Word 0 09-28-2009 05:33 PM

Other Forums: Access Forums

All times are GMT -7. The time now is 10:26 PM.


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