1. Welcome! Please take a few seconds to create your free account to post threads, make some friends, remove a few ads while surfing and much more. ClutchFans has been bringing fans together to talk Houston Sports since 1996. Join us!

Question for you Microsoft Word Gurus out there..

Discussion in 'BBS Hangout' started by Nero, Aug 12, 2013.

  1. Nero

    Nero Member

    Joined:
    Jun 12, 2002
    Messages:
    6,441
    Likes Received:
    1,422
    Hey, I have a question about how to maybe do something in Word, and hopefully someone here will know how to do it.

    I do not use Word, like, at ALL, and so if this is an easy thing, so be it, and if it is impossible, then oh well.

    I have written a document online, over time, it ended up being around 140 pages long. The formatting protocols of the online location where it was written used a certain kind of structure to create an italicized word.

    It was like this: if I wanted to italicize a word, I had to surround the word with asterisks on both sides. For example, in this sentence, the word *elephant* would be italicized because it had the asterisks around it.

    Now however, I am wanting to use the document in Word, and I have no idea how to do away with the asterisks and make those words simply be italicized in Word.

    Do any of you know how to do something like that? Some kind of function that would seek out every word surrounded by asterisks on both sides, get rid of the asterisks, and make those words italicized? Can it even do that?

    Thanks, crossing my fingers.. :)
     
  2. RKREBORN

    RKREBORN Member

    Joined:
    Jul 24, 2006
    Messages:
    9,899
    Likes Received:
    10,863
    Go to the find and replace option. Under find put * and under replace leave it blank. Should do the trick
     
  3. Nero

    Nero Member

    Joined:
    Jun 12, 2002
    Messages:
    6,441
    Likes Received:
    1,422
    Wouldn't that simply erase all the asterisks?

    What I need to do is make all the words surrounded by asterisks italicized too. That's the whole point.
     
  4. LCAhmed

    LCAhmed Contributing Member

    Joined:
    Nov 10, 2009
    Messages:
    11,034
    Likes Received:
    1,631
    So, you do not know how to delete the astericks? or you do not know how to italicize? To italicize, you just need to highlight the word and press ctrl + i. to remove the astericks I would assume just backspace or delete would work.
     
  5. Nero

    Nero Member

    Joined:
    Jun 12, 2002
    Messages:
    6,441
    Likes Received:
    1,422
    It is a 140 page document, filled with italicized words. They are italicized ONLY in the online location where I wrote it. In the Word document, they are regular words with an asterisk on each side of the word. There are literally HUNDREDS of them in the document.

    I am trying to find a way to make Word automatically take every word in the document with asterisks on either side and make it italicized. Even if it doesn't remove the asterisks - I can do that afterward.

    It's not that I don't know how to erase, or how to italicize a word. Duh lol. I just don't want to have to do it manually hundreds of times if there is some way to automate it.
     
  6. B-Bob

    B-Bob "94-year-old self-described dreamer"

    Joined:
    Jul 26, 2002
    Messages:
    34,727
    Likes Received:
    33,788
    Nero,
    Go to Format menu.
    Then select Autoformat.
    In that little window that pops up, select options.

    There, you should see a little box for *bold* and _italics_, depending on your version.

    I think if you use autoformatting with this box selected, then all of your asterisked words will become bold.

    If your version looks like mine, then my suggestion: (1) Find and Replace all * with _. (2) Use the autoformat function on the entire document. (3a) voila? (3b) shake fist and curse the name of B-Bob.
     
    3 people like this.
  7. geeimsobored

    geeimsobored Contributing Member

    Joined:
    Aug 20, 2005
    Messages:
    8,874
    Likes Received:
    3,166
    There's probably a simpler way but this is what I would do.

    Do a find and replace and change the asterisks to another special character. (like a dollar sign or a pound sign)

    Then do another find and replace and click the "More" button and then select use wildcards.

    Then click format at the bottom and then click font. Once you are in the font menu, select italics and then close the box.

    For the find and replace sections, type the following. (I'll use $ as the replacement for the * symbol)

    For find, type in $$*$$
    For replace, type in $$*$$

    This will convert all of the words that are surrounded by two $ signs to italics. Once you do that, do another find and replace and replace the $ signs with blanks.
     
  8. Nero

    Nero Member

    Joined:
    Jun 12, 2002
    Messages:
    6,441
    Likes Received:
    1,422


    That worked! Awesome! All Hail The Great Hero B-Bob!

    Much rep to you Sir, you just saved me hours of editing!

    Thank you thank you!

    (shakes fist and praises the name of the mighty B-Bob!)
     
  9. SwoLy-D

    SwoLy-D Contributing Member

    Joined:
    Jul 20, 2001
    Messages:
    37,617
    Likes Received:
    1,448
    :eek: I can see it's already been answered, but I am a SEARCH&REPLACE master... in Dreamweaver, Word, and anywhere else that uses that feature with regular expressions:

    With word, you can also select EVERY word that is BOLD and has asterisks using Search and Replace with options.

    You can do "special" and "formatting" options with your search and choose "Italic" under the "Font Format" options to replace to make every word "*word*" be italicized in your "Replace With" option like so:

    Before you choose "Format":
    [​IMG]

    When you click "Format" then "Font...":
    [​IMG]

    Before REPLACING ALL:
    [​IMG]

    This should work with all future *fixes*.

    Good thing you did it already. :cool:
     
    #9 SwoLy-D, Aug 12, 2013
    Last edited: Aug 12, 2013
  10. B-Bob

    B-Bob "94-year-old self-described dreamer"

    Joined:
    Jul 26, 2002
    Messages:
    34,727
    Likes Received:
    33,788
    I don't like Word, but I just wrote a 300 page book in it as kind of a default, so I learned a few things. I would think others like Swoly would know more and would trust their judgment moving forward.

    But overall, I've been surprised by Word, in a good way. My book has to have copious end notes, and the end note feature is surprisingly robust. It really keeps track during cut and paste, and you can format it all sorts of ways, by section/chapter, etc.

    Glad that worked, Nero!
     
  11. BamBam

    BamBam Contributing Member

    Joined:
    Nov 3, 2003
    Messages:
    9,607
    Likes Received:
    9,762
    Gotta give you some props SwoLy! You don't always play nice but you sure are willing to help in these situations. You're a regular professor in interwebz and such...:eek:
    [​IMG]
    Profesor Jira-SwoLy...;)
    .......
    .......
    .......
     
  12. SwoLy-D

    SwoLy-D Contributing Member

    Joined:
    Jul 20, 2001
    Messages:
    37,617
    Likes Received:
    1,448
    ^ These things are TECHNICAL... not a matter of opinion. That's where I excel. :eek: You see my plight now, Mr. BamBam? :grin: LOL @ Rubén Aguirre's famous character. Thank you, sir.

    EDIT: Hadn't seen your note, B:
    I'm constantly writing technical documents in Word. At times, I have to GOOGLE the answer and at other times, I just mess with the keystrokes and the shortcuts and I notice some keystrokes do wonders.

    For example, I learned by mistake that CTRL+Enter did a Page Break. :)

    It's like your mind/brain/intellect, man... the more you use it, the more you know your way around it and to make it your own and to work better for you... give me a buzz/ring/message if you run into more problems. I like helping out with these technical things and if I don't know it, I'll google it in the way I think it's called in the "Word" world. :cool:

    http://office.microsoft.com/en-us/word-help/introduction-1-40-RZ102673168.aspx?CTT=1&section=2
    Search and Replace dialog box: CTRL+H
    Change Case toggle from lower to UPPER to Sentence Case: SHIFT+F3
     
    #12 SwoLy-D, Aug 12, 2013
    Last edited: Aug 12, 2013
  13. aeroman10

    aeroman10 Contributing Member

    Joined:
    Nov 2, 2003
    Messages:
    2,695
    Likes Received:
    50
    I have a question regarding Excel and automation. Nobody has been able to even provide an answer or suggestion yet. Want to give it a shot?
     
  14. SwoLy-D

    SwoLy-D Contributing Member

    Joined:
    Jul 20, 2001
    Messages:
    37,617
    Likes Received:
    1,448
    I don't know if it's FORUM 'etiquette' to hijack Señor B-Bob's thread. :) Could be worth its own thread, or an "Excel Help" thread would be in order.

    I said that's where I 'excel', not "I am a guru of Excel." ;)

    But... sure, I could try. I use WORD a lot more than Excel, but I like a challenge.
     
  15. sammy

    sammy Contributing Member

    Joined:
    Jul 5, 2002
    Messages:
    18,949
    Likes Received:
    3,528
    Shoot.
     
  16. aeroman10

    aeroman10 Contributing Member

    Joined:
    Nov 2, 2003
    Messages:
    2,695
    Likes Received:
    50
    Since the original question was already answered, here is mine regarding Excel 2010 and automation.

    I have a VB Script that will open a specified Excel file, refresh all, and then save it. It works fine but some files are setup to publish reports in MHT format on Save.

    Problem that we have is when you have a file that publishes a report on save you get a prompt asking if you want to publish. You can say yes and check the option to not show that again then the script will run fine for 'current user' only. Otherwise the refresh script can't accept the prompt.

    This wouldn't be an issue if I was running it for myself. I could just open the files first, do a one time manual save, accept the publish prompt and that's it but we want to run this on our corporate job scheduling system and we can't access those servers for each new excel file which is set to publish that needs to be opened up once manually and saved.

    Is there a way to enable always publish option for ALL users?
    Or is there a VB Script that can set that option on its own?
     
  17. cdeezballz

    cdeezballz Member

    Joined:
    Jan 2, 2010
    Messages:
    78
    Likes Received:
    6
    Buy that man a beer, since he saved you _HOURS_ of editing. (Run auto-format on that..... ) :p

     
  18. B-Bob

    B-Bob "94-year-old self-described dreamer"

    Joined:
    Jul 26, 2002
    Messages:
    34,727
    Likes Received:
    33,788
    Thanks, Swoly. Seriously, I will take you up on this when I next get stuck.
     
  19. SwoLy-D

    SwoLy-D Contributing Member

    Joined:
    Jul 20, 2001
    Messages:
    37,617
    Likes Received:
    1,448
    It looks like you need to disable some sort of prompt or change an option either in the VB script or in the application or server that runs the script, then run the script.

    Something like these guys right here, but not necessarily these... although they might help you:
    Code:
    Application.EnableEvents = False
    Application.DisplayAlerts = False 
    ActiveWorkbook.Close SaveChanges:=False 
    Application.DisplayAlerts = True 
    Application.EnableEvents = True
    Am I on the right track? :cool: Try the DisplayAlerts to 'False'.

    http://msdn.microsoft.com/en-us/library/office/aa175241(v=office.11).aspx
     
  20. aeroman10

    aeroman10 Contributing Member

    Joined:
    Nov 2, 2003
    Messages:
    2,695
    Likes Received:
    50
    My script is listed below.
    Setting the alerts to false makes the script 'hang' because the alert is there but not visible so it just sits there and waits.

    I haven't been able to find an action to automatically set options for and accept a specific alert

     

Share This Page

  • About ClutchFans

    Since 1996, ClutchFans has been loud and proud covering the Houston Rockets, helping set an industry standard for team fan sites. The forums have been a home for Houston sports fans as well as basketball fanatics around the globe.

  • Support ClutchFans!

    If you find that ClutchFans is a valuable resource for you, please consider becoming a Supporting Member. Supporting Members can upload photos and attachments directly to their posts, customize their user title and more. Gold Supporters see zero ads!


    Upgrade Now