Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default Range Question

I have the following statement

Rows(Target.Row + 3 & ":" & Target.Row + 4).Select

And what I really want to do is select the cells that are in column
Target.column and rows Target.row to target.row+1.

What would I need to change?

Hopefully this will go through. I've had a lot of difficulty posting
questions of late.

Thanks
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Range Question

Or just:

Target.resize(2,1).select


Barb Reinhardt wrote:

I have the following statement

Rows(Target.Row + 3 & ":" & Target.Row + 4).Select

And what I really want to do is select the cells that are in column
Target.column and rows Target.row to target.row+1.

What would I need to change?

Hopefully this will go through. I've had a lot of difficulty posting
questions of late.

Thanks


--

Dave Peterson
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
Range question w/VB Ron[_14_] Excel Programming 4 March 28th 06 06:35 PM
Range question Patrick Simonds Excel Programming 1 October 8th 05 10:08 PM
Range Question / error 1004: method Range of object Worksheet has failed Paul Excel Programming 3 April 7th 05 02:56 PM
Range question mnewnam Excel Programming 0 October 28th 04 06:51 PM
Range.Formula and Range question using Excel Automation [email protected] Excel Programming 0 September 19th 03 04:53 AM


All times are GMT +1. The time now is 05:51 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"