Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default exporting VB files

I am trying to export some files from my personal.xls spreadsheet so
that they can be imported on other PC's. I can successfully export &
import both modules and class modules, but when I export a workbook it
saves it as a class and then imports it as a class.

Any ideas?

Thanks,
Rob

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default exporting VB files

Hi Rob,

Rather than overwriting someone else's Personal.xls file,
try creating and distrubuting an add-in.

For the creation, distribution and installation of an add-in,
see Jan Karel Pieterse's tutorial

Create Addins
http://www.jkp-ads.com/Articles/DistributeMacro00.htm


---
Regards,
Norman
Microsoft Excel MVP


"RobH" wrote in message
oups.com...
I am trying to export some files from my personal.xls spreadsheet so
that they can be imported on other PC's. I can successfully export &
import both modules and class modules, but when I export a workbook it
saves it as a class and then imports it as a class.

Any ideas?

Thanks,
Rob



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default exporting VB files

I looked at using an add-in, but the code which worked fine in
personal.xls did not run correclty when using an add in instead.
Hence looking at the import and export process for the roll-out.

Rob

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default exporting VB files

Hi Rob,

Can you give an example of a procedure which
does not run correctly in an add-in?


---
Regards,
Norman




"RobH" wrote in message
oups.com...
I looked at using an add-in, but the code which worked fine in
personal.xls did not run correclty when using an add in instead.
Hence looking at the import and export process for the roll-out.

Rob



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 13
Default exporting VB files

For details see a previous post on this forum from a couple of days
ago, entitled 'Run-time error 9 when running add-in'

Rob



  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6,582
Default exporting VB files

Alternatively, give the workbook a unique name (RobsBook.xls) and place it
in each user's xlstart directory. It will open when Excel opens, but will
not overwrite anyone's personal.xls.

- Jon
-------
Jon Peltier, Microsoft Excel MVP
Tutorials and Custom Solutions
http://PeltierTech.com
_______


"Norman Jones" wrote in message
...
Hi Rob,

Rather than overwriting someone else's Personal.xls file,
try creating and distrubuting an add-in.

For the creation, distribution and installation of an add-in,
see Jan Karel Pieterse's tutorial

Create Addins
http://www.jkp-ads.com/Articles/DistributeMacro00.htm


---
Regards,
Norman
Microsoft Excel MVP


"RobH" wrote in message
oups.com...
I am trying to export some files from my personal.xls spreadsheet so
that they can be imported on other PC's. I can successfully export &
import both modules and class modules, but when I export a workbook it
saves it as a class and then imports it as a class.

Any ideas?

Thanks,
Rob





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
Exporting to seperate .ini files Gunti Excel Discussion (Misc queries) 0 June 25th 09 03:15 PM
EXPORTING EXCEL FILES drwho New Users to Excel 0 February 9th 09 09:16 PM
Exporting CSV Files Paul W Smith[_4_] Excel Programming 2 January 11th 06 11:35 PM
Exporting to several xls files ole_ Excel Programming 6 March 18th 05 01:32 PM
Exporting CSV files Hank Myers Excel Programming 1 December 2nd 03 08:33 PM


All times are GMT +1. The time now is 07:31 PM.

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"