Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default What is the Visual Basic command to select an entire row in Excel.

Try:

ActiveSheet.Range(Range).EntireRow.Select

Where Range is a cell address on the row you want to select.
If row 3 is what you wanted selected, then range can be set as "A3", "D3",
etc.

HTH

--
Rob

FMS Professional Solutions Group
http://www.fmsinc.com/consulting

Software Tools for .NET, SQL Server, Visual Basic & Access
http://www.fmsinc.com

-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
"Sahja" wrote in message
...
When I use the command Rows.EntireRow.Select in Visual Basic to select a
single row in an Excel spreadsheet it selects all the rows in the
spreadsheet. Is there another command that will select a single row??



Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help me please understand this Visual Basic command Steve Excel Discussion (Misc queries) 1 September 16th 08 06:14 PM
VISUAL BASIC COMMAND TO MOVE CURSER DOWN ONE CELL Moving Problem! Excel Worksheet Functions 2 December 19th 06 08:00 AM
What is the Visual Basic command to select an entire row in Excel. Ron de Bruin Excel Programming 0 September 22nd 04 01:55 PM
Problems in Visual Basic Editior, In search of a command Matt G[_7_] Excel Programming 3 June 17th 04 04:06 PM
visual basic command in a cell?? konky Excel Programming 1 August 26th 03 06:33 PM


All times are GMT +1. The time now is 06:32 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"