+ Reply to Thread
Results 1 to 3 of 3

saving files without invalid characters

  1. #1
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Budapest, Hungary
    MS-Off Ver
    Excel 2016
    Posts
    187

    saving files without invalid characters

    Dear All,

    I am preparing files with a macro. At the end I save them under a new name, their names come from a master table as strings, which unfortunately may contain characters which cannot be used in file names.
    Does anybody knows a convenient solution which prevents the macro stopping and convert the filename-string into a new one without (;6 etc.

    an automatic name would be also fine just like "undefined.xlsx"

    thanks
    Last edited by HarryKlein; 11-25-2011 at 08:36 AM.

  2. #2
    Valued Forum Contributor Steffen Thomsen's Avatar
    Join Date
    10-15-2010
    Location
    Kolding, Denmark
    MS-Off Ver
    Excel 2007 and Excel 2010
    Posts
    953

    Re: saving files without invalid characters

    You could use the replace function

    Please Login or Register  to view this content.
    And so on
    Please take time to read the forum rules

  3. #3
    Forum Contributor
    Join Date
    05-10-2011
    Location
    Budapest, Hungary
    MS-Off Ver
    Excel 2016
    Posts
    187

    Re: saving files without invalid characters

    Yes, that will be the solution, many thanks

+ 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