Copy Sheet w/o VBA code

  • Thread starter Thread starter MWE
  • Start date Start date
M

MWE

I wish to copy sheet "A1" from workbook "A" to
workbook "B" but not copy the VBA code associated with
A1. How might that be done?

Thanks
 
Two ways

Copy the whole sheet and use code to delete the VBA code
http://www.cpearson.com/excel/vbe.htm

Or Add a new sheet to the workbook and use Cells.copy to copy all the cells
from the Worksheet you want in this new worksheet.

If you need a code example post back
 
Ron: many thanks. You have steered me to the solution of
my particular problem and solutions to a dozen other
things I have been pondering.

MWE
-----Original Message-----
Two ways

Copy the whole sheet and use code to delete the VBA code
http://www.cpearson.com/excel/vbe.htm

Or Add a new sheet to the workbook and use Cells.copy to copy all the cells
from the Worksheet you want in this new worksheet.

If you need a code example post back




--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)




"MWE" <[email protected]> wrote in
message news:[email protected]...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top