Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 23
Default storing of VBA code

Hi

Anyone know where the VBA code actually are stored and in what format
and is it
awailebel from the VBA editor og vis the Locals


Kurt

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7,247
Default storing of VBA code

VBA is stored in the workbook file. It is stored as a binary
format, never as straight text. Translation from this binary
format to the text you see on the screen is done when you view
code in the VBA Editor.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"kurt" wrote in message
oups.com...
Hi

Anyone know where the VBA code actually are stored and in what
format
and is it
awailebel from the VBA editor og vis the Locals


Kurt



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default storing of VBA code

It is stored in the workbook file along with everything else. You can
export a copy of the code.

--
Regards,
Tom Ogilvy

"kurt" wrote in message
oups.com...
Hi

Anyone know where the VBA code actually are stored and in what format
and is it
awailebel from the VBA editor og vis the Locals


Kurt



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default storing of VBA code

But you can export that code module, and open the exported file in any text
editor.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Chip Pearson" wrote in message
...
VBA is stored in the workbook file. It is stored as a binary
format, never as straight text. Translation from this binary
format to the text you see on the screen is done when you view
code in the VBA Editor.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"kurt" wrote in message
oups.com...
Hi

Anyone know where the VBA code actually are stored and in what
format
and is it
awailebel from the VBA editor og vis the Locals


Kurt





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,316
Default storing of VBA code

You can right click on the module, class module or form you wish to export
and then select Export. The resulting file, if it's a module or class module
is a plain text file, but the form is saved in a VB form format.

The modules, when exported, can be opened by any text editor, or reimported
into any office document.
--
Kevin Backmann


"Bob Phillips" wrote:

But you can export that code module, and open the exported file in any text
editor.

--
HTH

Bob Phillips

(remove nothere from email address if mailing direct)

"Chip Pearson" wrote in message
...
VBA is stored in the workbook file. It is stored as a binary
format, never as straight text. Translation from this binary
format to the text you see on the screen is done when you view
code in the VBA Editor.


--
Cordially,
Chip Pearson
Microsoft MVP - Excel
Pearson Software Consulting, LLC
www.cpearson.com


"kurt" wrote in message
oups.com...
Hi

Anyone know where the VBA code actually are stored and in what
format
and is it
awailebel from the VBA editor og vis the Locals


Kurt






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
storing macros ? Tim[_7_] Excel Discussion (Misc queries) 2 October 26th 07 02:54 AM
Storing Formulas to Use NEWB Excel Worksheet Functions 3 December 2nd 05 05:23 PM
storing data jimbo_jones[_7_] Excel Programming 3 September 21st 05 04:20 PM
Storing Data in code? (relative primes to MOD as example) jasonsweeney[_86_] Excel Programming 3 August 22nd 05 12:44 AM
Storing Variables Todd Huttenstine[_3_] Excel Programming 5 November 27th 03 02:14 AM


All times are GMT +1. The time now is 12:54 PM.

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

About Us

"It's about Microsoft Excel"