See attached. Change C26
VBA Noob
See attached. Change C26
VBA Noob
_________________________________________
![]()
![]()
Credo Elvem ipsum etian vivere
_________________________________________
A message for cross posters
Please remember to wrap code.
Forum Rules
Please add to your signature if you found this link helpful. Excel links !!!
TY - That is exactly what I want to happen, but I am a true nub at this.![]()
I don't even know what to look for to to see how you did it.
I viewed the code and nothing was there.
Doesn't look like there is any formatting or conditions.
What am I missing?
EFGMan
Hi,
It done with code. It is called by a Change Event and the code is on the actual sheet.
Right click the sheet tab and select view code.
When the target is cell C26 and you add a figure it multiplies by 15
These link might help with change events and adding the code
http://www.cpearson.com/excel/events.htm
http://www.contextures.com/xlvba01.html#Worksheet
VBA Noob![]()
Private Sub Worksheet_Change(ByVal Target As Excel.Range) If Not Intersect(Target(1), Range("C26")) Is Nothing Then Application.EnableEvents = False With Target(1) 'Assuming your Constant/Multiplier is 15: .Value = .Value * 15 End With Application.EnableEvents = True End If End Sub
UDMan. Perfect in every way. Thank you so much.
Happy EFGMan
![]()
Glad I could help
Thanks for the feedback
VBA Noob
blablablab
Last edited by EFGMan; 01-12-2007 at 01:00 PM.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks