+ Reply to Thread
Results 1 to 4 of 4

How can i get this code to work across several rows

  1. #1
    Registered User
    Join Date
    04-20-2014
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    59

    How can i get this code to work across several rows

    Good Morning I have managed to find the code below to replace ":", "/", "+" in text within cells, the code was originally for only one column "A", however I wanted to use across several columns, "F:U" is there a way of doing this please.

    Derek.


    Please Login or Register  to view this content.
    Last edited by deek; 05-17-2016 at 04:11 AM.

  2. #2
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: How can i get this code to work across several rows

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)

  3. #3
    Forum Moderator zbor's Avatar
    Join Date
    02-10-2009
    Location
    Croatia
    MS-Off Ver
    365 ProPlus
    Posts
    15,602

    Re: How can i get this code to work across several rows

    Try working with range:

    Please Login or Register  to view this content.

  4. #4
    Registered User
    Join Date
    04-20-2014
    Location
    Derby
    MS-Off Ver
    Excel 2010
    Posts
    59

    Re: How can i get this code to work across several rows

    many thanks Zbor. This works a treat. is easy to understand (at least depicting the range) I just need to get to understand the whole declaration thing, and what is a range, string etc.

    once again, thank you.

+ 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