LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 470
Default Choosing Active Cell

I have a worksheet that contains 12 budgets (one for each month). Each
budget is identical in size (rows & columns). I have two commandbuttons that
allow me to sort two different ways. The user simply enters the month
(numeric value 1-12) and that particular budget is sorted.

What I am looking for is an automatic way to determine which budget is being
looked at, ie if I am viewing May's budget, logic would be I would be sorting
May's budget. I figure if I can determine what cell is currently selected,
then I can determine the range to be sorted automatically without the user
having to enter the month.

What code would determine what cell is selected?

Thanks,
Les
 
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
Test if moving off a cell without choosing a value Tom Melosi[_2_] Excel Programming 0 November 29th 07 06:49 PM
choosing a cell from a range Robert-Alpha[_2_] Excel Discussion (Misc queries) 1 September 12th 07 10:37 PM
choosing the a cell from a range Robert-Alpha[_2_] Excel Discussion (Misc queries) 3 September 12th 07 09:16 PM
choosing a cell with a comment kate nz Excel Discussion (Misc queries) 4 November 8th 05 10:35 AM
Choosing from 2 formulas for one cell rechan Excel Programming 1 May 21st 05 06:18 AM


All times are GMT +1. The time now is 10:09 PM.

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"