+ Reply to Thread
Results 1 to 2 of 2

Find and replace macro

  1. #1
    Registered User
    Join Date
    10-22-2007
    Location
    Anaheim, CA
    Posts
    4

    Find and replace macro

    Hello All,

    I need some direction in learning how to create a macro. Up until yesterday I didnt know these even existed!!!! Any way, it seems it will be usefull for my business.

    Is a macro the right way for me???????? This is what I do:

    I have a master invoice for my printing business.

    Column A has either X's or O's (In Formula Form).

    O represents that something is purchased and I want it to show.
    X represents that something is NOT purchased and I want to hide the row.

    Right now I use the following steps.
    Select Column A - Right Click/Copy/Paste Specia/Values/OK
    Edit/Replace/Find O Replace with (nothing)/ Replace All
    Select Column A Edit/Goto/Special/Constants/OK
    Format /Rows / Hide

    Will a macro eliminate these steps????

    Help a girl out!

    --Christy
    Attached Images Attached Images
    Last edited by Alphacsulb; 10-22-2007 at 12:43 PM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Maybe

    See link for where to add code

    http://www.contextures.com/xlvba01.html#Regular

    Amended added an array
    Please Login or Register  to view this content.
    VBA Noob
    Last edited by VBA Noob; 10-22-2007 at 01:20 PM.
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1