Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
On Feb 16, 3:40*pm, jaxgab wrote:
I have used code like the following for many years to remove all the formulas from multiple worksheets. Sub Convert2Values() * * Sheets(Array("Cover", "Comments", "Month", "YTD", "Analysis", "Cost Per Car")). _ * * * * Select * * Sheets("Cover").Activate * * Cells.Select * * Selection.Copy * * Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ * * * * :=False, Transpose:=False End Sub The code still works as a stand-alone macro. *However, when I place the place the code into another Excel macro, it will only convert the first page ("Cover") to values. Do anyone have any ideas what is going on? *I was previously using Excel 2003 and the code worked fine. I bet you wish Lotus 3 DOS was still around - you could address the "cube" directly and Clear it or Copy to it. Excel is a pizza menu, whereas Lotus DOS was the Encyclopaedia Britannica :) |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Add "paste values" to right-click shortcut menu-how do? Excel 2010 | Excel Programming | |||
Copy/Paste Values code | Excel Programming | |||
VBA code to copy and paste by values from one Excel workbook to another | Excel Programming | |||
Combobox Code, Wont Copy and paste? | Excel Programming | |||
For dates, copy/paste special/values for 2006 gives me 2010--Why | Excel Worksheet Functions |