recognize input in one sheet, auto input in other sheet

osse697

New Member
Joined
Sep 2, 2006
Messages
1
Hi everyone,

First of all - thanks for lending your expertise! I need some help --

So I'm building worksheets to help me keep track of my finances. I currently have two sheets, one is "Summary of Accounts", and the other is "Cash Flows". the summary of accounts just summarizes all my bank accounts' activities, while the cash flow does my best to account for how i spend cash.

here is the challenge (for me at least): if i enter in "ATM" as a withdrawal under one of my bankaccounts on sheet:summary of accounts, i want it to automatically appear as an "income" on my sheet:cashflows. i want something that almost always 'keeps guard', and that when enter it in on one sheet, it automatically recognizes that and puts it in my other sheet (although with some variation - the value in hte withdrawal column should now go inot the income column).

any advice? thanks again
 

Excel Facts

Test for Multiple Conditions in IF?
Use AND(test, test, test, test) or OR(test, test, test, ...) as the logical_test argument of IF.
Hi, osse697
Welcome to the Board !!!!!

it is unclear to me what you want to do exactly
but I feel this example might help you
TO INSTALL IN SHEET CODE WINDOW:
1. right click the "Name Tab" of sheet you want code to work in
2. Select "View Code" in drop down menu
3. VBE window will open ... paste code in and exit VBE

Code:
Private Sub Worksheet_Change(ByVal Target As Range)
MsgBox "You entered " & Target & " in cell " & Target.Address, 64, "TITLE"
    If Target = "ATM" Then
    MsgBox "OK, you want to write something to sheet Cash Flows"
    Else
    MsgBox "Nothing will happen yet"
    End If
End Sub
kind regards,
Erik
 
Upvote 0

Forum statistics

Threads
1,225,563
Messages
6,185,708
Members
453,316
Latest member
mani_mech031

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top