Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Real Time Macro


This is probably a stupid question, but what do you have to do
differently to have a macro that runs at real time? What I need is to
change data fields depending on what a drop down menu has on it. I
tried cond'l formatting, but it doesnt let me grab data from a
different sheet... So now I need to make it real time..

Thanks


--
McManCSU
------------------------------------------------------------------------
McManCSU's Profile: http://www.excelforum.com/member.php...o&userid=24379
View this thread: http://www.excelforum.com/showthread...hreadid=392555

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Real Time Macro

Conditional formatting can check data on an other sheet. Just create a name
for that data (InsertNameDefine Name...), or use INDIRECT, such

=B2=INDIRECT("Sheet2!A1")

BTW, do you have Excel 97?

--
HTH

Bob Phillips

"McManCSU" wrote in
message ...

This is probably a stupid question, but what do you have to do
differently to have a macro that runs at real time? What I need is to
change data fields depending on what a drop down menu has on it. I
tried cond'l formatting, but it doesnt let me grab data from a
different sheet... So now I need to make it real time..

Thanks


--
McManCSU
------------------------------------------------------------------------
McManCSU's Profile:

http://www.excelforum.com/member.php...o&userid=24379
View this thread: http://www.excelforum.com/showthread...hreadid=392555



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Real Time Macro

Conditional formatting can use data from a separate sheet if you use a
defined name (insert=Name=define) and an intermediary to reference that
offsheet data.

--
Regards,
Tom Ogilvy


"McManCSU" wrote in
message ...

This is probably a stupid question, but what do you have to do
differently to have a macro that runs at real time? What I need is to
change data fields depending on what a drop down menu has on it. I
tried cond'l formatting, but it doesnt let me grab data from a
different sheet... So now I need to make it real time..

Thanks


--
McManCSU
------------------------------------------------------------------------
McManCSU's Profile:

http://www.excelforum.com/member.php...o&userid=24379
View this thread: http://www.excelforum.com/showthread...hreadid=392555



  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 27,285
Default Real Time Macro

If you insist on a macro see Chip Pearson's page on events
http://www.cpearson.com/excel/events.htm

--
Regards,
Tom Ogilvy

"McManCSU" wrote in
message ...

This is probably a stupid question, but what do you have to do
differently to have a macro that runs at real time? What I need is to
change data fields depending on what a drop down menu has on it. I
tried cond'l formatting, but it doesnt let me grab data from a
different sheet... So now I need to make it real time..

Thanks


--
McManCSU
------------------------------------------------------------------------
McManCSU's Profile:

http://www.excelforum.com/member.php...o&userid=24379
View this thread: http://www.excelforum.com/showthread...hreadid=392555



  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 692
Default Real Time Macro

Sounds like you want a worksheet change event.
You can put a Data Validation list into a cell and than when you change the
selection in the list - the event will fire.

Event macros go in the worksheet module. Say the Data Validation is in cell
A1

Private Sub Worksheet_Change(ByVal Target As Range)
If target.address = $A$1 then
msgbox "Do your stuff"
end if
End Sub

--
steveB

Remove "AYN" from email to respond
"McManCSU" wrote in
message ...

This is probably a stupid question, but what do you have to do
differently to have a macro that runs at real time? What I need is to
change data fields depending on what a drop down menu has on it. I
tried cond'l formatting, but it doesnt let me grab data from a
different sheet... So now I need to make it real time..

Thanks


--
McManCSU
------------------------------------------------------------------------
McManCSU's Profile:
http://www.excelforum.com/member.php...o&userid=24379
View this thread: http://www.excelforum.com/showthread...hreadid=392555



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
Local Apparent Time (LAT) - real / actual solar time ? Kelvin Excel Worksheet Functions 2 October 25th 09 11:00 AM
Real Time Charting lossofdog Excel Worksheet Functions 2 June 9th 06 03:19 PM
Real Time Charting lossofdog Charts and Charting in Excel 1 June 1st 06 09:03 AM
Real Time Inventory at the end of day johnc Excel Discussion (Misc queries) 1 September 2nd 05 10:05 AM
DDE real time and time dispay conflict Ed Leshik Excel Programming 1 March 21st 05 01:31 PM


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