+ Reply to Thread
Results 1 to 3 of 3

Macro to open new CSV file or workbook with 1 sheet

  1. #1
    Forum Contributor
    Join Date
    09-21-2007
    Posts
    196

    Question Macro to open new CSV file or workbook with 1 sheet

    Hopefully a simple question (famous last words).

    Is there a simple pieve of VBA code I can use to get excel to open a new workbook either, preferably, automatically as a csv or that just has one worksheet in it?

    I have tried the add.workbooks but not sure if there was anything different or a way to tell it how many sheets you wanted.

    many thanks,in anticipation,

    Jack

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    MS365 V.2406
    Posts
    2,316

    Re: Macro to open new CSV file or workbook with 1 sheet

    Possibly with...
    Please Login or Register  to view this content.
    Last edited by dangelor; 04-05-2019 at 11:24 AM.

  3. #3
    Forum Contributor
    Join Date
    09-21-2007
    Posts
    196

    Re: Macro to open new CSV file or workbook with 1 sheet

    Excellent, thank you

+ 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. [SOLVED] Macro to open workbook with a suffix (need help to check if file is already open)
    By rossi_69 in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-24-2017, 11:03 AM
  2. Macro to select csv file then open it and set it as the active workbook
    By bid19123 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-21-2016, 01:01 PM
  3. Open a workbook - run a macro - from .bat or .vbs file
    By sergiogent in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 06-17-2015, 12:43 AM
  4. Macro to open a workbook from an unknown file path
    By paul_sykes00 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 12-03-2012, 02:42 AM
  5. Macro, copy UNLOCKED cell range of sheet in open workbook to workbook template
    By NicksDad in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-31-2012, 11:18 AM
  6. Macro to open txt file into a new workbook and save it
    By GHIREM in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 07-09-2012, 04:18 PM
  7. Run excel macro from batch file. Workbook Open
    By Jonsby in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 02-26-2009, 08:14 AM

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