ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Newbie: How to get another range? (https://www.excelbanter.com/excel-programming/374743-newbie-how-get-another-range.html)

x-rays

Newbie: How to get another range?
 
Hello All,

I want to write some vba code to get a range other than of the "Target"
one, suppose that I'm in Worksheet_SelectionChange or Worksheet_Change
event. How accomplish that?

Thanks in advance!


NickHK

Newbie: How to get another range?
 
What's the connection between the Target and the "other range" ?

Other wise, just use:
Range("A1").Value
or
Worksheets("SomeotherSheet").Range("A6:M45)

NickHK

"x-rays" wrote in message
oups.com...
Hello All,

I want to write some vba code to get a range other than of the "Target"
one, suppose that I'm in Worksheet_SelectionChange or Worksheet_Change
event. How accomplish that?

Thanks in advance!




x-rays

Newbie: How to get another range?
 
Thanks Nick, I just find out from another post.

Thank you very much for your reply!

NickHK wrote:
What's the connection between the Target and the "other range" ?

Other wise, just use:
Range("A1").Value
or
Worksheets("SomeotherSheet").Range("A6:M45)

NickHK

"x-rays" wrote in message
oups.com...
Hello All,

I want to write some vba code to get a range other than of the "Target"
one, suppose that I'm in Worksheet_SelectionChange or Worksheet_Change
event. How accomplish that?

Thanks in advance!



NickHK

Newbie: How to get another range?
 
If you are going to post to more than one, relevant NG, then cross-post, not
multi-post.
Otherwise many people waste their time answering questions the OP has no
interest in reading, because the OP already has an answer elsewhere.

http://en.wikipedia.org/wiki/Cross-posting

NickHK

"x-rays" wrote in message
ups.com...
Thanks Nick, I just find out from another post.

Thank you very much for your reply!

NickHK wrote:
What's the connection between the Target and the "other range" ?

Other wise, just use:
Range("A1").Value
or
Worksheets("SomeotherSheet").Range("A6:M45)

NickHK

"x-rays" wrote in message
oups.com...
Hello All,

I want to write some vba code to get a range other than of the

"Target"
one, suppose that I'm in Worksheet_SelectionChange or Worksheet_Change
event. How accomplish that?

Thanks in advance!






All times are GMT +1. The time now is 11:19 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com