Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Excel macro to VB executable

Hi all,

Is it possible to take the VB code from an Excel macro and put it into a VB
compiler and make a VB executable?

The code I have is not excel specific, it is basically opening and writing
to text files with data sourced externally. At the moment Excel is used as
an intermediate program to obtain data and write it to the file. This takes
a lot of resources and doesn't cycle fast enough (it even slows the system
clock).

Any info is appreciated.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 10
Default Excel macro to VB executable

Patrick,

I don't actually have a VB compiler yet. And I can't justify buying one at
the moment as this is likely to be a one off.

Can you recommend a freeware or shareware compiler?

As you can probably tell I am novice at VB programming. I have a little C
experience from my Uni days but I need to do this in VB as it will save a
lot of time.



"Patrick Molloy" wrote in message
...
Absolutely you can.
Open VB (I assume VB) and copy your code from the Excel module directly to
the VB module. You'll probably want to tidy up the code, but it'll be

easier
than you might imagine.

A quick tip...drag the code module from Excel IDE to the desktop, then you
can drag from the desktop into the VB6 IDE.

--
Patrick Molloy
Microsoft Excel MVP
----------------------------------
"ccdubs" wrote in message
...
Hi all,

Is it possible to take the VB code from an Excel macro and put it into a

VB
compiler and make a VB executable?

The code I have is not excel specific, it is basically opening and

writing
to text files with data sourced externally. At the moment Excel is used

as
an intermediate program to obtain data and write it to the file. This

takes
a lot of resources and doesn't cycle fast enough (it even slows the

system
clock).

Any info is appreciated.






Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel into executable MrBT Excel Worksheet Functions 2 May 1st 08 03:05 AM
Can't load Excel Executable rickSA007 Setting up and Configuration of Excel 0 June 28th 06 11:50 AM
getting an excel file to run as an executable excellenze Excel Discussion (Misc queries) 1 March 24th 06 07:45 PM
Executable for converting excel XML to XLS [email protected] Excel Discussion (Misc queries) 0 March 14th 06 04:01 PM
Sending a macro as an executable? Wibs Excel Discussion (Misc queries) 1 December 27th 05 01:41 PM


All times are GMT +1. The time now is 08:24 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"