Office & Productivity Software forum

General discussion

Word, capitalize first letter in results of a search macro

by LMillerMT / December 13, 2008 12:35 AM PST

I know there is an easy way to do this, but I simply cannot find it!

I use Word 2007 on a Windows XP system.

I type for a living. I type a lot.

I've created documents for each account of mine that have many of the headers that I'll need. After the headers, I have a

Discussion is locked
You are posting a reply to: Word, capitalize first letter in results of a search macro
The posting of advertisements, profanity, or personal attacks is prohibited. Please refer to our CNET Forums policies for details. All submitted content is subject to our Terms of Use.
Track this discussion and email me when there are updates

If you're asking for technical help, please be sure to include all your system info, including operating system, model number, and any other specifics related to the problem. Also please exercise your best judgment when posting in the forums--revealing personal information such as your e-mail address, telephone number, and address is not recommended.

You are reporting the following post: Word, capitalize first letter in results of a search macro
This post has been flagged and will be reviewed by our staff. Thank you for helping us maintain CNET's great community.
Sorry, there was a problem flagging this post. Please try again now or at a later time.
If you believe this post is offensive or violates the CNET Forums' Usage policies, you can report it below (this will not automatically remove the post). Once reported, our moderators will be notified and the post will be reviewed.
Collapse -
Re: capital
by Kees Bakker / December 13, 2008 3:32 AM PST

To change abcd to Abcd (assuming that is what you want to do) set the cursor somewhere in the word and press shift-f3. In macro-code that is: Selection.Range.Case = wdNextCase

Or is it something else you want

Kees

Collapse -
Almost there...
by LMillerMT / December 13, 2008 3:54 AM PST
In reply to: Re: capital

I do know how to use Shift F3 to make a word become capitalized. But I'm trying to cut down on keystrokes when typing.

What I'm trying to implement is capitalizing the first word on the fly after using my jump macro.

So again, my macro jumps to the first

Collapse -
You can't have a macro to change ...
by Kees Bakker / December 13, 2008 4:00 AM PST
In reply to: Almost there...

something that you still have to type.

All you can do is have 26 macro's (the first one replaces the paragraph symbol with an A, the second with a B, and so on until the 26th changes it in a Z. But I think you wouldn't like that either.

Another alternative you wouldn't like is to change the : after procedure in a . (full stop) and tell word to start each sentence with a capital. Then when you're ready run a macro to change all procedure. in procedure: again.

Kees

Collapse -
Dang
by LMillerMT / December 13, 2008 4:20 AM PST

Well, thanks anyway!

Popular Forums
icon
Computer Newbies 10,686 discussions
icon
Computer Help 54,365 discussions
icon
Laptops 21,181 discussions
icon
Networking & Wireless 16,313 discussions
icon
Phones 17,137 discussions
icon
Security 31,287 discussions
icon
TVs & Home Theaters 22,101 discussions
icon
Windows 7 8,164 discussions
icon
Windows 10 2,657 discussions

CNET FORUMS TOP DISCUSSION

Help, my PC with Windows 10 won't shut down properly

Since upgrading to Windows 10 my computer won't shut down properly. I use the menu button shutdown and the screen goes blank, but the system does not fully shut down. The only way to get it to shut down is to hold the physical power button down till it shuts down. Any suggestions?