+ Reply to Thread
Results 1 to 2 of 2

Import multiple CSV, also show error message when worksheet name already exist

  1. #1
    Registered User
    Join Date
    10-17-2014
    Location
    Canberra,Australia
    MS-Off Ver
    2013
    Posts
    2

    Import multiple CSV, also show error message when worksheet name already exist

    Hi

    I'm still a newbie at VBA and I would really appreciate it if someone can help me out.

    I've searched for ways to import CSV into a single workbook and I've found a close link here: http://www.excelforum.com/excel-prog...te-sheets.html

    The code automatically renames a imported csv file if a worksheet with the same name already exist (i.e. John, John(1) etc).

    I've tweaked the code a little, but now it's not running, probably because I've also deleted essential codes. What I have now are:

    Please Login or Register  to view this content.

    Thank you
    Last edited by Frostyminty; 10-18-2014 at 10:03 PM.

  2. #2
    Forum Guru xladept's Avatar
    Join Date
    04-14-2012
    Location
    Pasadena, California
    MS-Off Ver
    Excel 2003,2010
    Posts
    12,378

    Re: Import multiple CSV, also show error message when worksheet name already exist

    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
    If I've helped you, please consider adding to my reputation - just click on the liitle star at the left.

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~(Pride has no aftertaste.)

    You can't do one thing. XLAdept

    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~aka Orrin

+ 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. If Value Exists on another worksheet, show error message
    By BreatGritain in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 05-28-2014, 12:39 PM
  2. Replies: 9
    Last Post: 02-12-2013, 04:15 PM
  3. Replies: 7
    Last Post: 07-12-2012, 10:30 AM
  4. Replies: 6
    Last Post: 04-09-2012, 02:26 PM
  5. Replies: 1
    Last Post: 01-29-2012, 01:19 PM

Tags for this Thread

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