+ Reply to Thread
Results 1 to 6 of 6

Basic find and replace macro for commas and semicolons

  1. #1
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,843

    Basic find and replace macro for commas and semicolons

    Why won't this macro work? I'm clueless...

    Please Login or Register  to view this content.
    Yes it's for converting those comas in formulas to semicolons which is the standard where I live.
    <----- If you were helped by my posts you can say "Thank you" by clicking the star symbol down to the left

    If the problem is solved, finish of the thread by clicking SOLVED under Thread Tools
    I don't wish to leave you with no answer, yet I sometimes miss posts. If you feel I forgot you, remind me with a PM or just bump the thread.

  2. #2
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Basic find and replace macro for commas and semicolons

    How about:

    Please Login or Register  to view this content.
    Gary's Student

  3. #3
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,843

    Re: Basic find and replace macro for commas and semicolons

    Oops! I almost forgot about this one, sorry!
    Thanks for your reply, Jakobshavn! However, this does not work. Maybe it's because the commas needs to be replaced before Excel registers it as a formula. Kind of a catch 22!
    I tried modifying it back and forth but no way no how did I get it to work.

  4. #4
    Forum Expert Jakobshavn's Avatar
    Join Date
    08-17-2012
    Location
    Lakehurst, NJ, USA
    MS-Off Ver
    Excel 2007
    Posts
    1,970

    Re: Basic find and replace macro for commas and semicolons

    To avoid the "Catch 22":
    1. first change all the formulas to text
    2. second edit the resulting "text" formulas
    3. third convert the text back to formula

  5. #5
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,843

    Re: Basic find and replace macro for commas and semicolons

    I guess that would work but I'm still hoping for a one click solution.
    So far I have been using the Ctrl + h to bring up the Search and Replace dialogue box, any solution would have to be easier than that.

    What I don't understand is why my first piece of code doesn't work. The macro runs, no errors, but nothing happens... weird.

  6. #6
    Forum Expert
    Join Date
    09-01-2012
    Location
    Norway
    MS-Off Ver
    Office 365
    Posts
    2,843

    Re: Basic find and replace macro for commas and semicolons

    Bump this.

+ 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