Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am running into a problem when I try and run a macro that copies a
sheet that has a pivot table in it and moves it to another folder and then copys-past special-values the sheet. When I try and run macros that do this I get an error message when the macro finishes processing that says "Excel cannot complete this task with available resources. Choose less data or close other applications". Do you have any suggestions or workarounds I can use to avoid this problem? Below is an example of the visual basic I am using in the macro. The problem occurs when I copy and paste the pivot table. I do not have the same problem when a pivot table is not involved. Sheets(Array("Calculations", "Trading_Profit")).Select Sheets("Trading_Profit").Activate Sheets(Array("Calculations", "Trading_Profit")).Copy Cells.Select Selection.Copy Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False Application.CutCopyMode = False |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
MACRO Problem | Excel Discussion (Misc queries) | |||
Macro problem | Excel Discussion (Misc queries) | |||
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable | Excel Worksheet Functions | |||
I tried to get around the problem of the pivot table field settingdefaulting to Count instead of Sum by running a macro of change the settingfrom Count to Sum. However, when I tried to run the Macro, I got error messageof run time error 1004, unable | Excel Discussion (Misc queries) | |||
Problem in updating all worksheets of a workbook using a macro that calls another macro | Excel Programming |