+ Reply to Thread
Results 1 to 3 of 3

MACRO to remove unwanted character.

Hybrid View

  1. #1
    Forum Contributor visha_1984's Avatar
    Join Date
    11-27-2012
    Location
    Pune,India
    MS-Off Ver
    Excel 2013
    Posts
    309

    MACRO to remove unwanted character.

    Hi im trying to remove - / this charecter from one row and move fresh date in next column.

    Good day
    Attached Files Attached Files
    Happy to Help

    VISHA

    Click *, if the suggestion helps you!
    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>> "Mark your thread as Solved"

  2. #2
    Forum Expert nilem's Avatar
    Join Date
    10-22-2011
    Location
    Ufa, Russia
    MS-Off Ver
    2013
    Posts
    3,377

    Re: MACRO to remove unwanted character.

    Hi Visha,
    try
    Sub ertert()
    Application.ScreenUpdating = 0
    Columns("E:E").Copy Columns("F:F")
    With Range("F1", Cells(Rows.Count, 6).End(xlUp))
        .Replace "-", "~": .Replace "/", "~"
        .TextToColumns , , , , 0, 0, 0, 0, 1, "~"
    End With
    Range("F:F,H:J").Delete Shift:=xlToLeft
    Application.ScreenUpdating = 1
    End Sub

  3. #3
    Forum Contributor visha_1984's Avatar
    Join Date
    11-27-2012
    Location
    Pune,India
    MS-Off Ver
    Excel 2013
    Posts
    309

    Re: MACRO to remove unwanted character.

    Great nilem

    it work

    Thank u very much

+ 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