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


General question: When you refer to a range without specifying a
worksheet, what worksheet is used by default?

I'm finding that I select a worksheet, and when I try to select a
range, it goes to the cells in a different worksheet.


Thanks,
Chris


--
agentsmith83
------------------------------------------------------------------------
agentsmith83's Profile: http://www.excelforum.com/member.php...o&userid=33600
View this thread: http://www.excelforum.com/showthread...hreadid=533840

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 5,939
Default General Question on Range

By default it uses the active sheet. That being said you should post some of
the code that is causing you the problem so that we can let you know why it
is doing what it is doing...
--
HTH...

Jim Thomlinson


"agentsmith83" wrote:


General question: When you refer to a range without specifying a
worksheet, what worksheet is used by default?

I'm finding that I select a worksheet, and when I try to select a
range, it goes to the cells in a different worksheet.


Thanks,
Chris


--
agentsmith83
------------------------------------------------------------------------
agentsmith83's Profile: http://www.excelforum.com/member.php...o&userid=33600
View this thread: http://www.excelforum.com/showthread...hreadid=533840


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

Is your code in a General module or is it behind a worksheet?

Unqualified ranges refer to the activesheet in a General module.

Unqualified ranges refer to the sheet owning the code if its in a worksheet
module.

That said, selecting a range isn't usually required to work on it.

agentsmith83 wrote:

General question: When you refer to a range without specifying a
worksheet, what worksheet is used by default?

I'm finding that I select a worksheet, and when I try to select a
range, it goes to the cells in a different worksheet.

Thanks,
Chris

--
agentsmith83
------------------------------------------------------------------------
agentsmith83's Profile: http://www.excelforum.com/member.php...o&userid=33600
View this thread: http://www.excelforum.com/showthread...hreadid=533840


--

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
General question Rookie User[_2_] Excel Worksheet Functions 2 February 8th 10 07:34 PM
General Question Easydoesit Excel Worksheet Functions 1 June 19th 05 07:14 AM
General Question Steph[_3_] Excel Programming 1 January 25th 05 05:46 PM
General question David Excel Programming 1 February 4th 04 10:01 AM
General Question Squid[_2_] Excel Programming 3 January 12th 04 07:25 PM


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

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

About Us

"It's about Microsoft Excel"