+ Reply to Thread
Results 1 to 9 of 9

Excel 2007 : Export Selection As A Windows Dos Bat File

  1. #1
    Registered User
    Join Date
    02-07-2010
    Location
    India
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    16

    Export Selection As A Windows Dos Bat File

    Hi All,

    I need a macro which will export selection in to a Windows Dos Bat File. I have a code which exports the selection to CSV as mentioned below

    Please Login or Register  to view this content.

    Please help !!!!!
    Last edited by romperstomper; 09-28-2011 at 02:42 PM. Reason: Mark solved

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,572

    Re: Export Selection As A Windows Dos Bat File

    Your post doesn't make any sense...
    1. Windows and DOS are two different operating systems
    2. Why would you have a list of DOS commands in an Excel spreadsheet anyway?
    Explain.....
    Ben Van Johnson

  3. #3
    Registered User
    Join Date
    02-07-2010
    Location
    India
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    16

    Re: Export Selection As A Windows Dos Bat File

    Hey Friend,

    Sorry for the confusing post...I just need a macro to get the selection in a bat file.

    Why I want is not a concern...Would request fellow members to give me a solution.

    Thank You


    Quote Originally Posted by protonLeah View Post
    Your post doesn't make any sense...
    1. Windows and DOS are two different operating systems
    2. Why would you have a list of DOS commands in an Excel spreadsheet anyway?
    Explain.....

  4. #4
    Registered User
    Join Date
    02-07-2010
    Location
    India
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    16

    Re: Export Selection As A Windows Dos Bat File

    Help Please

  5. #5
    Registered User
    Join Date
    02-07-2010
    Location
    India
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    16

    Re: Export Selection As A Windows Dos Bat File

    Attaching a Sample excel for what exactly I wanna do.

    please help me on this !!!!
    Attached Files Attached Files

  6. #6
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,572

    Re: Export Selection As A Windows Dos Bat File

    Try this one:
    Attached Files Attached Files

  7. #7
    Registered User
    Join Date
    02-07-2010
    Location
    India
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    16

    Re: Export Selection As A Windows Dos Bat File

    Thanks Leah...It worked like a charm


    Quote Originally Posted by protonLeah View Post
    Try this one:

  8. #8
    Forum Guru romperstomper's Avatar
    Join Date
    11-04-2008
    Location
    A1
    MS-Off Ver
    Most
    Posts
    12,302

    Re: Export Selection As A Windows Dos Bat File

    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save
    Remember what the dormouse said
    Feed your head

  9. #9
    Registered User
    Join Date
    02-07-2010
    Location
    India
    MS-Off Ver
    Excel 2007 & 2010
    Posts
    16

    Re: Export Selection As A Windows Dos Bat File

    hello romperstomper....i want to mark it as solved but cant see Edit button on my 1st post


    Quote Originally Posted by romperstomper View Post
    If you are satisfied with the solution(s) provided, please mark your thread as Solved.

    How to mark a thread Solved
    Go to the first post
    Click edit
    Click Go Advanced
    Just below the word Title you will see a dropdown with the word No prefix.
    Change to Solved
    Click Save

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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