+ Reply to Thread
Results 1 to 2 of 2

Remove certain chars

  1. #1
    Registered User
    Join Date
    10-22-2015
    Location
    London
    MS-Off Ver
    Office 2013
    Posts
    1

    Question Remove certain chars

    Hi,
    i've got a macro that saves in a certain folder emails i select. It works pretty well exept for one thing. This macro has been programmed to name the file .eml according to the subject of the email. Therefore when i decide to save a forwarded email the outcome is someting like this: "I: subjectemail.eml"
    I would like to remove the chars "I:"
    Here is the code:
    Please Login or Register  to view this content.

  2. #2
    Administrator 6StringJazzer's Avatar
    Join Date
    01-27-2010
    Location
    Tysons Corner, VA, USA
    MS-Off Ver
    MS365 Family 64-bit
    Posts
    24,532

    Re: Remove certain chars

    This code does not work for me. After it prompts the user for a folder, it stops execution.

    When I bypass that code and just set the folder path, I do not get the results you describe. I am not getting "I:" at the beginning of the file name.

    Can you give an example of an email subject that causes you to get this result?
    Jeff
    | | |會 |會 |會 |會 | |:| | |會 |會
    Read the rules
    Use code tags to [code]enclose your code![/code]

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Remove Chars in Call Based on Condition
    By FallingDown in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 08-13-2014, 06:20 AM
  2. [SOLVED] Help! Remove numbers and all chars to left of the numbers.
    By trouble085 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 08-08-2012, 09:54 PM
  3. Remove iNdex chars From Left
    By teodormircea in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-21-2009, 08:19 AM
  4. Chars in macro
    By 63falcon in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-22-2007, 11:46 AM
  5. Replies: 2
    Last Post: 03-16-2006, 11:15 AM
  6. [SOLVED] Removing last three chars
    By teresa in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 01-23-2005, 09:06 PM
  7. [SOLVED] remove blanks from a string of chars within a cell?
    By rayhollidge in forum Excel General
    Replies: 3
    Last Post: 01-07-2005, 11:08 PM

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