Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Problem with Active Cell Refence

I am just learning Macros & VBA.

I am designing a spreadsheet for picking and booking theatre seats.

Problem:

How do I get the active cell reference to show, of a selected seat,
either in a nominated cell or in a pop up message, but adjusted to
reflect offset seat rows and columns. e.g. The cell reference of Seat
A1 may be D5, seat A2 would be D6 and so on.

I want the actual seat no, not the actual cell reference.

The best I have managed so far is get the actual active cell reference
(which of course isn't the seat no) and then it appears as $A$1.

Hope this makes sense and isn't considered too trivial question.

Many thanks

Mark



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Problem with Active Cell Refence

If the cell contains the actual see reference then

msgbox ActiveCell.Value

--
Regards,
Tom Ogilvy

"patterson_m" wrote in message
...
I am just learning Macros & VBA.

I am designing a spreadsheet for picking and booking theatre seats.

Problem:

How do I get the active cell reference to show, of a selected seat,
either in a nominated cell or in a pop up message, but adjusted to
reflect offset seat rows and columns. e.g. The cell reference of Seat
A1 may be D5, seat A2 would be D6 and so on.

I want the actual seat no, not the actual cell reference.

The best I have managed so far is get the actual active cell reference
(which of course isn't the seat no) and then it appears as $A$1.

Hope this makes sense and isn't considered too trivial question.

Many thanks

Mark



------------------------------------------------
~~ Message posted from http://www.ExcelTip.com/
~~ View and post usenet messages directly from http://www.ExcelForum.com/



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
Row select mode to highlight active row of active cell Bart Fay[_2_] Excel Discussion (Misc queries) 0 May 11th 10 09:34 PM
Vlookup , Referencing a cell to refence table array seans Excel Worksheet Functions 7 November 22nd 08 07:32 AM
refence worksheet name into a formula excelhurtsme Excel Discussion (Misc queries) 5 October 20th 08 04:46 PM
referring to formula in a non active cell from active cell nickname Excel Discussion (Misc queries) 1 June 21st 07 12:11 PM
end of column refence in several calculations James Garlock Excel Discussion (Misc queries) 1 December 14th 04 04:22 PM


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