Select = good, unselect = ?

F

Flyboy

Here's my code for selecting a "row"...

current = owctest.Spreadsheet1.ActiveCell.Address
i1 = owctest.SpreadSheet1.Selection.Row
i2 = owctest.Spreadsheet1.Selection.Row + (
owctest.Spreadsheet1.Selection.Rows.Count - 1 )
owctest.Spreadsheet1.Activesheet.Range
(owctest.Spreadsheet1.Activesheet.Cells(i1, 1),
owctest.Spreadsheet1.Activesheet.Cells(i2, 12)).Select

How do I Unselect a row?

What is the stupid function name for unselecting a cell?

Frustrating!!

Ryan
 
F

Flyboy

I found my own solution..

Simply activate a cell.. (activating has nothing to do
with selecting the data, so you can paste without
that "you've selected data, and the data you're trying to
paste is too big"...)

Just in case (an example)..

spreadsheet.ActiveSheet.Range("A1").Activate

Ryan
 
Top