Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Copying Functions & Worksheet

Folks,

I am tyring to create a copy of s single worksheet 'Using Move or Copy"
Sheet from a workbook containing user defined functions. The sheet copies
fince but the user function (critical to the sheet) is not copied with it.

Is there a clean way to do this or should I create a copy of the workbook
and delete all but the worksheet I want to cretae a copy of?

Thanks,
Peter



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 320
Default Copying Functions & Worksheet

The user-defined functions are in modules, not part of the sheet. You need
to copy both the sheet and the modules. The modules (or the Function you
want) can be copied by dragging across the code & use Copy & paste onto a
module in the new workbook, or you can export the module and import it into
the new workbook. It's also very possible there's extra code in the module
that you do NOT want, and you can delete it by selecting the code & pressing
delete.

"Peter" wrote in message
...
Folks,

I am tyring to create a copy of s single worksheet 'Using Move or Copy"
Sheet from a workbook containing user defined functions. The sheet copies
fince but the user function (critical to the sheet) is not copied with it.

Is there a clean way to do this or should I create a copy of the workbook
and delete all but the worksheet I want to cretae a copy of?

Thanks,
Peter





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 6
Default Copying Functions & Worksheet

Thanks. Worked like a charm.

"Bob Umlas" wrote in message
...
The user-defined functions are in modules, not part of the sheet. You need
to copy both the sheet and the modules. The modules (or the Function you
want) can be copied by dragging across the code & use Copy & paste onto a
module in the new workbook, or you can export the module and import it

into
the new workbook. It's also very possible there's extra code in the module
that you do NOT want, and you can delete it by selecting the code &

pressing
delete.

"Peter" wrote in message
...
Folks,

I am tyring to create a copy of s single worksheet 'Using Move or Copy"
Sheet from a workbook containing user defined functions. The sheet

copies
fince but the user function (critical to the sheet) is not copied with

it.

Is there a clean way to do this or should I create a copy of the

workbook
and delete all but the worksheet I want to cretae a copy of?

Thanks,
Peter







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
How To Stop Excel Copying Named Functions When A Worksheet Is Copied? Wayne[_3_] Excel Worksheet Functions 2 February 19th 09 02:15 AM
Sum if functions not copying text John Excel Discussion (Misc queries) 4 July 3rd 08 04:02 PM
Copying Functions between Cells BrewsterGK Excel Worksheet Functions 1 June 19th 08 05:34 PM
Problems with copying functions martinbarnes Excel Discussion (Misc queries) 3 April 1st 08 09:12 PM
Copying Functions Need HELP Excel Worksheet Functions 1 June 11th 07 01:49 AM


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