+ Reply to Thread
Results 1 to 1 of 1

Thread: Selection Replace

  1. #1
    Valued Forum Contributor
    Join Date
    11-15-2007
    Location
    England
    MS-Off Ver
    Office Pro 2003
    Posts
    209

    Selection Replace

    Hi,

    I'm having a problem with Selection Replace in a macro.

    I am tryiong to replace 06 Jun with 07 Jul, I have DIM statements for LMNo = 6 LM = Jun and TMNo = 07 and TM = Jul.

    The macro runs through okay but nothing changes?

    Selection.Replace what:=("0" & LMNo & " " & LM), Replacement:=("0" & TMNo & " " & TM), LookAt:=xlPart, _
            SearchOrder:=xlByRows, MatchCase:=False, SearchFormat:=False, _
            ReplaceFormat:=False
    Last edited by timbo1957; 07-04-2011 at 10:06 AM.

+ 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.2.0