Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15250

[Word] Trying to automatically change the font size of numbers in a textbox

$
0
0
Hi everyone,

I have very little experience with VB in general, but I'm trying to change the font size of any number found in a given textbox. When I run the module (or macro? I'm not sure if there is a difference), I want it to find any number in a given text and increase that number by 3 font sizes.

Example:

TWO-ACADEMY AWARD® WINNER DUSTIN HOFFMAN (BEST ACTOR —RAIN MAN, 1998; KRAMER VS. KRAMER, 1979) STARS IN THE ACTION-PACKED GANGSTER EPIC DETAILING THE RISE AND FALL OF NOTORIOUS MOBSTER DUTCH SCHULTZ AS SEEN THROUGH THE EYES OF YOUNG PROTÉGÉ, BILLY BATHGATE.

Output:

TWO-ACADEMY AWARD® WINNER DUSTIN HOFFMAN (BEST ACTOR —RAIN MAN, 1998; KRAMER VS. KRAMER, 1979) STARS IN THE ACTION-PACKED GANGSTER EPIC DETAILING THE RISE AND FALL OF NOTORIOUS MOBSTER DUTCH SCHULTZ AS SEEN THROUGH THE EYES OF YOUNG PROTÉGÉ, BILLY BATHGATE.

Viewing all articles
Browse latest Browse all 15250

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>