![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
|
Thread Tools | Display Modes |
#11
|
|||
|
|||
![]()
Macro was copied from forum and pasted but compile Error: Syntax Error message was given at the following line. What is wrong. I have not used macros in MS Word before this.
Balance = Val(Right(numtext$, Len(numtext$) - Len(millions) - Len(billions))) Regards Zaigham Because the macro was posted from software that limits the length of the lines, an unwanted line break was inserted into the code. Those two lines should be one line, like this: Balance = Val(Right(numtext$, Len(numtext$) - Len(millions) - Len(billions))) -- Regards, Jay Freedman Microsoft Word MVP FAQ: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. |
Ads | |
|
Thread Tools | |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
last lines of text don't display in text boxes for 1 user | David Grana | Microsoft Word Help | 1 | October 7th 08 09:40 AM |
Display selected text as white text with black highlight? | David Rathert | Microsoft Word Help | 4 | April 29th 07 03:42 AM |
How do I display the day of the month using text | abcsharon | Microsoft Word Help | 9 | February 8th 07 05:31 PM |
Can I display text on startup? | Smohrman | Microsoft Word Help | 1 | June 1st 06 05:44 AM |
can't edit text-will only display | Hoeyboy | Microsoft Word Help | 1 | March 13th 06 12:08 PM |