Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
2003/2007
This code works: Dim SrchAcctRng as Range SrchAcctRng.Select SrchAcctRng.Copy Selection.PasteSpecial xlPasteValues Next code fails in range class Dim SrchAcctRng as Range SrchAcctRng.Copy SrchAcctRng.PasteSpecial xlPasteValues Note that SrchAcctRng is a filtered range as a result of: Set SrchAcctRng = wks.Range(Cells(PrintRow + 1, PrintCol).Address, _ Cells(wks.Cells(Rows.Count, 1).End(xlUp).Row - 1, PrintCol)).SpecialCells(xlCellTypeVisible) I do not usderstand why I need to use Selection.PasteSpecial xlPasteValues? TIA EagleOne |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Why does Selection.PasteSpecial toggle Application.ScreenUpdating | Excel Worksheet Functions | |||
Exporting Logo from Access 97 to Excel 2000 by copy and pastespecial is stopping Cell A1 selection | Excel Programming | |||
Selection.PasteSpecial with Office 2003 | Excel Programming | |||
selection.pastespecial problem | Excel Programming |