LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
No Name
 
Posts: n/a
Default Macro trigger?

Hi Trot,

If the depending cells are in a fixed column I would use
Vlookup

Assuming you have your Master table in sheet2 ,A1:B2 like:
A 15.000.000
B 10.000.000

Then put in I3, J3 and K3:
=vlookup($f3,sheet2!$a$1:$b$2,2,false)
If you then enter A or B in F3, the result will appear in
the other cells.

Copy this formula down to all the cells you need.

If this is not what you want, please post again

Wolf

-----Original Message-----
If anyone can help me on this one, it would be much

appreciated. I want
to be able to type a letter in a cell and have it

automatically execute
some action. More specifically, I have letter codes I

will be entering
into column F.

For example, I would like to be able to enter the

letter "B" into F2
and have excel place values of 10,000,000 in cells I2

and J2
automatically. Or another case would be entering the

letter "A" in F3
and have excel place values of 15,000,000 in I3, J3, and

K3.

The code "B" would always need the value placed in the 2

cells starting
3 columns to the right of where the code is input.

Likewise, "A" would
always need the associated value placed in the 3 cells

starting 3
columns to the right of the input cell and so on.

I already have tables of the codes and what values they

represent on
another worksheet. I just need to be able to take those

values and have
excel place them in the designated cells automatically

upon entering
the code.

I hope I explained what it is I wish to accomplish.

Thanks again.

Trot


---
Message posted from http://www.ExcelForum.com/

.

 
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
Trigger Macro by Worksheet_Change JSnow Excel Discussion (Misc queries) 5 October 2nd 08 06:27 PM
Using date as trigger for macro Mike Milmoe Excel Discussion (Misc queries) 3 May 10th 07 06:43 PM
macro trigger Leslieac Excel Discussion (Misc queries) 3 February 2nd 06 09:08 PM
Macro trigger? excelguru Excel Programming 0 February 29th 04 06:10 AM
EXCEL: trigger web query from macro? Krick Excel Programming 0 August 5th 03 09:12 PM


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