Rabu, 09 Mei 2012

Re: [ExcelVBA] Example of BAT file that starts EXCEL to Open a particular Workbook

 

Try opening a new document in notepad
type
Open Excel.exe "Name of file you want to open between quote marks"
save file as whatever.bat making sure it saves it with the extension
.bat not .txt (you might have to change your folder options \ view to
see the extension so untick "hide extension of known file types" )
then put the bat file on the descktop and click it and it will do just
what you want :-)

Muhammad Zahid Inam wrote:
> Hi,
>
>
>
> Let me work on it. It is possible via a vbs file (don't know about bat file). But can share by Saturday.
>
>
>
> Thanks
>
>
>
> Regards
>
>
>
> Zahid
>
> *** Sent using Mobilink BlackBerry® Service ***
>
>
>
> -----Original Message-----
>
> From: "danielrose02" <dan.rose@parker.com>
>
> Sender: ExcelVBA@yahoogroups.com
>
> Date: Wed, 09 May 2012 17:05:22
>
> To: <ExcelVBA@yahoogroups.com>
>
> Reply-To: ExcelVBA@yahoogroups.com
>
> Subject: [ExcelVBA] Example of BAT file that starts EXCEL to Open a particular Workbook
>
>
>
> Does anybody have an example of a BAT that starts EXCEL and opens a given (particular) Workbook?
>
>
>
>
>
>
>
> [Non-text portions of this message have been removed]
>
>
>
> ------------------------------------
>
> ----------------------------------
> Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.
>
> ----------------------------------
> Visit our ExcelVBA group home page for more info and support files:
> http://groups.yahoo.com/group/ExcelVBA
>
> ----------------------------------
> More free tutorials and resources available at:
> http://www.mousetrax.com
>
> ----------------------------------Yahoo! Groups Links
>
>
>
>

__._,_.___
Recent Activity:
----------------------------------
Be sure to check out TechTrax Ezine for many, free Excel VBA articles! Go here: http://www.mousetrax.com/techtrax to enter the ezine, then search the ARCHIVES for EXCEL VBA.

----------------------------------
Visit our ExcelVBA group home page for more info and support files:
http://groups.yahoo.com/group/ExcelVBA

----------------------------------
More free tutorials and resources available at:
http://www.mousetrax.com

----------------------------------
.

__,_._,___

Tidak ada komentar:

Posting Komentar