Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I am getting an error as (Compile Error:Expected Array) when i am running the below macro.Pls help me to debug it Sub copyVisible() Dim copyFrom As Range Set copyFrom = ThisWorkbook.Sheets("Analysis").Range("C5") Do Set copyFrom = copyFrom.Offset(1) Loop Until copyFrom.EntireRow.Hidden = False copyFrom.Copy Sheets("PG_results").Select Selection.PasteSpecial Paste:=xlPasteValues("PG_results").Range("B5") Application.CutCopyMode = False End Sub *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Compile Error: Expected Array | Excel Programming | |||
compile error - expected an array | Excel Programming | |||
Help: Compile error: type mismatch: array or user defined type expected | Excel Programming | |||
compile error: Expected: = ...Why? | Excel Programming | |||
Compile Error: Expected End Property | Excel Programming |