Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Can anyone see why the "range value" section of this code won't work? I get
an object not defined error? shtarray = Array("Sheet1", "Sheet5", "Sheet2", "Sheet3", "Sheet4") For Each sh In ActiveWorkbook.Worksheets(shtarray) sh.Range("A2:EC2").Copy Set frng = sh.Range("A5:EC" & Data.Range("B65536").End(xlUp).Row) frng.PasteSpecial Paste:=xlPasteFormulas With ActiveWorkbook.sh.Range("A5:EC" & Data.Range("B65536").End(xlUp).Row) .Value = .Value End With Next sh |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to update a column in a work based on another work sheet | New Users to Excel | |||
how can i automatically generate work order numbers from work orde | Excel Discussion (Misc queries) | |||
flash object dont work in my excel work sheet | Excel Discussion (Misc queries) | |||
Counting dates in multiple work sheets and work books | Excel Discussion (Misc queries) | |||
Is there away to keep "auto save" from jumping to the first work sheet in the work book? | New Users to Excel |