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


Morning.

I have been searching the threads and have not been able to find an
answer to my current conundrum so I thought it best to throw it at the
forum.

I have a procedure which is copying worksheets and pasting them into
new workbooks and then cutting all links etc. But what I want to do is
add modules and / or part of the code within the modules to this copy
and paste procedure.

Can this be done?

Any advice greatly appreciated.

Kristan


--
Kstalker
------------------------------------------------------------------------
Kstalker's Profile: http://www.excelforum.com/member.php...o&userid=24699
View this thread: http://www.excelforum.com/showthread...hreadid=488015

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Write code to Write Code

Hi Kristan,

See Chip Pearson's page on Programming to the VBE:

http://www.cpearson.com/excel/vbe.htm


---
Regards,
Norman



"Kstalker" wrote in
message ...

Morning.

I have been searching the threads and have not been able to find an
answer to my current conundrum so I thought it best to throw it at the
forum.

I have a procedure which is copying worksheets and pasting them into
new workbooks and then cutting all links etc. But what I want to do is
add modules and / or part of the code within the modules to this copy
and paste procedure.

Can this be done?

Any advice greatly appreciated.

Kristan


--
Kstalker
------------------------------------------------------------------------
Kstalker's Profile:
http://www.excelforum.com/member.php...o&userid=24699
View this thread: http://www.excelforum.com/showthread...hreadid=488015



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Write code to Write Code


Thanks Norm.

Just what i was after.

Regards

Krista

--
Kstalke
-----------------------------------------------------------------------
Kstalker's Profile: http://www.excelforum.com/member.php...fo&userid=2469
View this thread: http://www.excelforum.com/showthread.php?threadid=48801

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default Write code to Write Code

norman:

"Microsoft Visual Basic For Applications Extensibility 5.3". why won't this
say checked for me when after i exit excel? the other libraries do.

--


Gary


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

See Chip Pearson's page on Programming to the VBE:

http://www.cpearson.com/excel/vbe.htm


---
Regards,
Norman



"Kstalker" wrote
in message ...

Morning.

I have been searching the threads and have not been able to find an
answer to my current conundrum so I thought it best to throw it at the
forum.

I have a procedure which is copying worksheets and pasting them into
new workbooks and then cutting all links etc. But what I want to do is
add modules and / or part of the code within the modules to this copy
and paste procedure.

Can this be done?

Any advice greatly appreciated.

Kristan


--
Kstalker
------------------------------------------------------------------------
Kstalker's Profile:
http://www.excelforum.com/member.php...o&userid=24699
View this thread:
http://www.excelforum.com/showthread...hreadid=488015





  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Write code to Write Code

Hi Gary,

I have never experienced this problem.

After setting the reference for the given project, are you saving the
workbook?

---
Regards,
Norman



"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
norman:

"Microsoft Visual Basic For Applications Extensibility 5.3". why won't
this say checked for me when after i exit excel? the other libraries do.

--


Gary


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

See Chip Pearson's page on Programming to the VBE:

http://www.cpearson.com/excel/vbe.htm


---
Regards,
Norman



"Kstalker" wrote
in message ...

Morning.

I have been searching the threads and have not been able to find an
answer to my current conundrum so I thought it best to throw it at the
forum.

I have a procedure which is copying worksheets and pasting them into
new workbooks and then cutting all links etc. But what I want to do is
add modules and / or part of the code within the modules to this copy
and paste procedure.

Can this be done?

Any advice greatly appreciated.

Kristan


--
Kstalker
------------------------------------------------------------------------
Kstalker's Profile:
http://www.excelforum.com/member.php...o&userid=24699
View this thread:
http://www.excelforum.com/showthread...hreadid=488015









  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,494
Default Write code to Write Code

yep, but it only saves it for that workbook, not for all excel workbooks.
why isn't it available to excel instead of just the saved workbook?

--


Gary


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

I have never experienced this problem.

After setting the reference for the given project, are you saving the
workbook?

---
Regards,
Norman



"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
norman:

"Microsoft Visual Basic For Applications Extensibility 5.3". why won't
this say checked for me when after i exit excel? the other libraries do.

--


Gary


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

See Chip Pearson's page on Programming to the VBE:

http://www.cpearson.com/excel/vbe.htm


---
Regards,
Norman



"Kstalker" wrote
in message ...

Morning.

I have been searching the threads and have not been able to find an
answer to my current conundrum so I thought it best to throw it at the
forum.

I have a procedure which is copying worksheets and pasting them into
new workbooks and then cutting all links etc. But what I want to do is
add modules and / or part of the code within the modules to this copy
and paste procedure.

Can this be done?

Any advice greatly appreciated.

Kristan


--
Kstalker
------------------------------------------------------------------------
Kstalker's Profile:
http://www.excelforum.com/member.php...o&userid=24699
View this thread:
http://www.excelforum.com/showthread...hreadid=488015









  #7   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,302
Default Write code to Write Code

Hi Gary,

References are set for each project; there is not a global setting.

If you want certain references to be available to all (new) workbooks, add
these references to the workbook template file.


---
Regards,
Norman



"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
yep, but it only saves it for that workbook, not for all excel workbooks.
why isn't it available to excel instead of just the saved workbook?

--


Gary


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

I have never experienced this problem.

After setting the reference for the given project, are you saving the
workbook?

---
Regards,
Norman



"Gary Keramidas" <GKeramidasATmsn.com wrote in message
...
norman:

"Microsoft Visual Basic For Applications Extensibility 5.3". why won't
this say checked for me when after i exit excel? the other libraries do.

--


Gary


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

See Chip Pearson's page on Programming to the VBE:

http://www.cpearson.com/excel/vbe.htm


---
Regards,
Norman



"Kstalker"
wrote in message
...

Morning.

I have been searching the threads and have not been able to find an
answer to my current conundrum so I thought it best to throw it at the
forum.

I have a procedure which is copying worksheets and pasting them into
new workbooks and then cutting all links etc. But what I want to do is
add modules and / or part of the code within the modules to this copy
and paste procedure.

Can this be done?

Any advice greatly appreciated.

Kristan


--
Kstalker
------------------------------------------------------------------------
Kstalker's Profile:
http://www.excelforum.com/member.php...o&userid=24699
View this thread:
http://www.excelforum.com/showthread...hreadid=488015











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
could someone write me a VB code? thanks Morgan New Users to Excel 6 March 10th 10 01:20 PM
write macro code nishkrish Excel Worksheet Functions 0 April 2nd 09 09:17 PM
Code to write out all lines of code davidm Excel Programming 3 August 5th 05 04:26 AM
How can i write TSR code A-Design Excel Programming 5 September 29th 04 05:26 PM
Using VBA to Write VBA code SB Excel Programming 10 January 23rd 04 02:01 PM


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