Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Excel VBA > Excel VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
Excel VBA Discuss using VBA for Excel programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Excel VBA section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old December 21st, 2004, 06:30 AM
Authorized User
 
Join Date: Dec 2004
Location: , , United Kingdom.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default Creating EXE from VBA - Excel

Hi,
Can anyone tell me how to create an exe file from VBA - Excel. I know we can create exe from VB but i don't find that option in VBA. I wrote my code in VBA and its activated once i open the excel file. So, i want to create a exe file which doesn't show excel sheet but directly shows VBA form.

Can you please help with this...

Thanks

Johnson


Reply With Quote
  #2 (permalink)  
Old December 29th, 2004, 09:10 AM
Authorized User
 
Join Date: Oct 2004
Location: , , .
Posts: 60
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via AIM to shattered Send a message via Yahoo to shattered
Default

you can't create an exe as such, the closest you will come is to hide the actual app

application.visible = false

this will then allow you to work with your forms without the user seeing the spreadsheet in the background.

Reply With Quote
  #3 (permalink)  
Old January 26th, 2005, 06:21 AM
Authorized User
 
Join Date: Dec 2004
Location: , , United Kingdom.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thanks shattered...

Reply With Quote
  #4 (permalink)  
Old January 27th, 2005, 06:45 AM
Friend of Wrox
 
Join Date: Jan 2005
Location: Bournemouth, Dorset, United Kingdom.
Posts: 180
Thanks: 0
Thanked 0 Times in 0 Posts
Default

You need to use an excel Add-in, this allows the user to use the modules and forms within the add-in just like any other objectetc but they are held in a form similar to a compiled executable file.

Cheers

Matthew

Reply With Quote
  #5 (permalink)  
Old February 1st, 2005, 06:38 AM
Authorized User
 
Join Date: Dec 2004
Location: , , United Kingdom.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Matthew,

Do you know the name of this excel Add-in and where to get it. Please let me, i am in desperate need.

Many Thanks

Johnson

Reply With Quote
  #6 (permalink)  
Old February 1st, 2005, 09:57 AM
Friend of Wrox
 
Join Date: Jan 2005
Location: Bournemouth, Dorset, United Kingdom.
Posts: 180
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Johnson,

An excel add-in is something that you create within the vba environment. Im not a salesman or anything but I swear by the Wrox 'Excel 2000 VBA' programmers reference. It has an excellent section on the use of add-ins.

Do you write your own code in the VBA editor?

As far as I am aware there is no application as such that can create an add-in for you, it is a case of writing the code then protecting that code as an add-in.

Alternatively if you want to send me your spreadsheet/code I can do it for you provided your requirements are simple. As a consultant systems accountant I normally charge for this but I will do this for you in my spare time.

Tell me if you want to go ahead with it.

cheers

Matthew

Reply With Quote
  #7 (permalink)  
Old February 4th, 2005, 05:15 AM
Authorized User
 
Join Date: Dec 2004
Location: , , United Kingdom.
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi Matthew,

Thanks for you help. I sorted it by creating an addins. First, i thought its like a add-ins comes with the software. Anyway thanks a lot...

Johnson

Reply With Quote
  #8 (permalink)  
Old February 4th, 2005, 09:30 PM
Registered User
 
Join Date: Feb 2005
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

There are several addins that ship with Excel. To see them go to
Tools / Addins. The check box indicates that the addin's funtions are available to you.

In addition to the ability to create macros and save them as addins, there are plenty of addins available on the Internet that perform all types of functions.

Welcome to the exciting world of coding VBA for Excel. javascript:insertsmilie('')
Cool

Reply With Quote
  #9 (permalink)  
Old June 22nd, 2012, 05:49 PM
Registered User
Points: 3, Level: 1
Points: 3, Level: 1 Points: 3, Level: 1 Points: 3, Level: 1
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Wink create an executable with excel

Look here That's New !
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
creating EXE in java satyabrata_majumder Java GUI 4 August 28th, 2013 06:44 AM
problem creating .exe from MFC AppWizard(exe) c++ method Visual C++ 0 July 7th, 2006 03:28 AM
problem n creating exe file dawngeorge VBScript 0 December 4th, 2004 02:48 AM
creating stand alone exe mr_bharathi General .NET 3 November 30th, 2004 07:35 AM
How to creating an exe file ? JAVA J2EE 2 May 20th, 2004 05:46 AM



All times are GMT -4. The time now is 06:20 AM.


Powered by vBulletin® Version 3.7.0
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.