Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default Export/Import Question

I am trying to send a friend of mine a utility for her to use at work but
her company's virus protect is stripping out all the macros. She doesn't get
the option to just save the file.

I thought I might be able to export the VBA and then have her import it.
This seems to work well for the module, however, much of the code is in the
workbook and when I export that, it get saved with ".cls" extension, which I
assume means 'class'. When I import that, it creates a new Class Module.

Is there anyway around that?

TIA,
Ken



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1,588
Default Export/Import Question

Have you tried zipping up the workbook before sending it?

Tim.

"Ken Loomis" wrote in message
...
I am trying to send a friend of mine a utility for her to use at work
but her company's virus protect is stripping out all the macros. She
doesn't get the option to just save the file.

I thought I might be able to export the VBA and then have her import
it. This seems to work well for the module, however, much of the
code is in the workbook and when I export that, it get saved with
".cls" extension, which I assume means 'class'. When I import that,
it creates a new Class Module.

Is there anyway around that?

TIA,
Ken





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 143
Default Export/Import Question

Thanks, Tim. I hadn't thought about that.

I can't test this again on her system until Tuesday, but my virus filters
were also trapping the workbook when I sent it to myself.

I just tested the zipped file idea and unfortunately that got trapped by my
virus filter.

However, I have tried the following methods to see if I could get it past my
anti-virus system:

1) Changed the extension to '.txt'

2) Cut out the VBA code and saved it as text, so now I have an Excel file
and 2 text files to be inserted using the VBE

3) Exported the workbook code and the module code, to be imported on her end
in the VBE. The workbook code is imported as a Class Module, so that code
will need to be copied to the workbook and the class module deleted.

All three of those methods got past the anti-virus system

Thanks for the suggestion.

Ken



"Tim Williams" <saxifrax@pacbell*dot*net wrote in message
...
Have you tried zipping up the workbook before sending it?

Tim.

"Ken Loomis" wrote in message
...
I am trying to send a friend of mine a utility for her to use at work but
her company's virus protect is stripping out all the macros. She doesn't
get the option to just save the file.

I thought I might be able to export the VBA and then have her import it.
This seems to work well for the module, however, much of the code is in
the workbook and when I export that, it get saved with ".cls" extension,
which I assume means 'class'. When I import that, it creates a new Class
Module.

Is there anyway around that?

TIA,
Ken







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
Import & Export lj Excel Discussion (Misc queries) 1 May 13th 08 02:07 AM
Import/Export ecruz04 Excel Discussion (Misc queries) 1 April 27th 07 08:17 AM
import and export vba tango Excel Programming 2 November 10th 04 08:11 AM
Question of Import Export Files unplugs[_12_] Excel Programming 6 June 21st 04 02:47 AM
Import and Export Todd Huttenstine[_3_] Excel Programming 3 April 30th 04 12:47 AM


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

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"