Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 45
Default import and export vba

dear all,
to comfirm if it is correct.
1)to export microsoft excel objects (sheets/thisworkbook) from 1
workbook to another workbook, i need to export to cls and in the
destination file do the import of the .cls file. in the destination
when import new folder class modules will be created. open the .cls
and copy the script to sheets or thisworkbook.

2)for modules, export as .bas and import to the destination workbook.

hope to get the advice.
thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default import and export vba

What you say is correct, but if you export

--

HTH

RP
(remove nothere from the email address if mailing direct)


"tango" wrote in message
om...
dear all,
to comfirm if it is correct.
1)to export microsoft excel objects (sheets/thisworkbook) from 1
workbook to another workbook, i need to export to cls and in the
destination file do the import of the .cls file. in the destination
when import new folder class modules will be created. open the .cls
and copy the script to sheets or thisworkbook.

2)for modules, export as .bas and import to the destination workbook.

hope to get the advice.
thanks



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default import and export vba

Try again.

What you say is mainly correct, but if you export it will automatically
create the correct type, and you don't need to copy anything, import will do
it all. When you import, you must ensure that the class file doesn't already
exist.

--

HTH

RP
(remove nothere from the email address if mailing direct)


"tango" wrote in message
om...
dear all,
to comfirm if it is correct.
1)to export microsoft excel objects (sheets/thisworkbook) from 1
workbook to another workbook, i need to export to cls and in the
destination file do the import of the .cls file. in the destination
when import new folder class modules will be created. open the .cls
and copy the script to sheets or thisworkbook.

2)for modules, export as .bas and import to the destination workbook.

hope to get the advice.
thanks



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
Export or Import into WORD l_croft1[_2_] New Users to Excel 4 May 13th 09 03:58 AM
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
Automate Import/Export Steve Excel Discussion (Misc queries) 0 October 14th 05 06:38 PM
Import and Export Todd Huttenstine[_3_] Excel Programming 3 April 30th 04 12:47 AM


All times are GMT +1. The time now is 07:21 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"