Home |
Search |
Today's Posts |
#11
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you, I will rename the workbook and try this code. I appreciate all the
help I"ve been getting and am always looking for opportunities to learn. -- dhunter43 The Performance Advantage, LLC "Les Stout" wrote: Hi dhunter43, just your code reduced slightly: Sub test() ' Dim lastRow As Long lastRow = Sheets("OperationalRates"). _ Cells(Rows.Count, "A").End(xlUp).Row + 1 Sheets("Formulas").Activate Sheets("formulas").Rows(2).Copy Sheets("OperationalRates").Rows(lastRow & ":" & lastRow).PasteSpecial Paste _ :=xlPasteValues, Operation:=xlNone, SkipBlanks:=False, Transpose:=False Sheets("InputForm").Range("C2:C10").ClearContents End Sub Best regards, Les Stout *** Sent via Developersdex http://www.developersdex.com *** |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Need macro to check if cell is not blank & previous cell is blank, copy information from row above & paste | Excel Programming | |||
Macro copy and paste = blank worksheet | Excel Discussion (Misc queries) | |||
How to find first blank row to paste to? | Excel Programming | |||
I want a blank space on a worksheet when the question is blank? | Excel Discussion (Misc queries) | |||
Copying and pasting a worksheet to a blank and removing blank rows | Excel Programming |