Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Using VB To Copy Code Internally

Status
Not open for further replies.

nvanfossan01

Programmer
Dec 10, 2004
1
0
0
US
Thank You in Advance,

Im imbedding VB in an excel sheet and I would like to use a button to create a new excel sheet, and copy the VB code associated with another sheet to this sheet. Basically is there a way to copy VB code internal to the program.

nvanfossan01@REMOVEnetscape.net
 
To want copy excel sheet in new sheet?
Has correctly understood?

Miho
 
Why not put the code in a separate module?

________________________________________________________________
If you want to get the best response to a question, please check out FAQ222-2244 first

'If we're supposed to work in Hex, why have we only got A fingers?'

for steam enthusiasts
 
nvan,

Have you considered using an Excel template containing the vb code.

regards Hugh
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top