S
serdar
See the question about vbasic functions below also.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
haber iletisinde þunlarý said:Hi serdar,
You may want to use the Change event of the worksheet. For example copy the
following code to the VBA module of your active worksheet and try changing
value in cell [A1]:
'---code start----
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Me.[a1]) Is Nothing Then _
Call Test
End Sub
Sub Test()
MsgBox "Hello!"
End Sub
'---code end----
Reagrds,
KL
serdar said:See the question about vbasic functions below also.
serdar said:thanks. this may be useful, and this is what i want to do actually, if u
are
interested:
I have a workbook with one master worksheet and several others for each
bank
i work with.
When i enter a new record in the master worksheet (for instance i get a
check from citibank) this record should go to the appropriate place in the
"citibank worksheet".
Briefly, i have a master worksheet that has all the records that i
entered,
and others each has only the fitting records.
haber iletisinde þunlarý said:Hi serdar,
You may want to use the Change event of the worksheet. For example copy the
following code to the VBA module of your active worksheet and try
changing
value in cell [A1]:
'---code start----
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Me.[a1]) Is Nothing Then _
Call Test
End Sub
Sub Test()
MsgBox "Hello!"
End Sub
'---code end----
Reagrds,
KL
serdar said:See the question about vbasic functions below also.
thanks. this may be useful, and this is what i want to do actually, if u are
interested:
I have a workbook with one master worksheet and several others for each bank
i work with.
When i enter a new record in the master worksheet (for instance i get a
check from citibank) this record should go to the appropriate place in the
"citibank worksheet".
Briefly, i have a master worksheet that has all the records that i entered,
and others each has only the fitting records.
haber iletisinde þunlarý said:Hi serdar,
You may want to use the Change event of the worksheet. For example copy the
following code to the VBA module of your active worksheet and try changing
value in cell [A1]:
'---code start----
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Me.[a1]) Is Nothing Then _
Call Test
End Sub
Sub Test()
MsgBox "Hello!"
End Sub
'---code end----
Reagrds,
KL
serdar said:See the question about vbasic functions below also.
haber iletisinde sunlari said:I wouldn't do this. There's too many things that can go wrong. My typing could
make it so that that event copies something to the wrong sheet and then I have
to find where it went and correct it in multiple spots.
In fact, if you use data|filter|autofilter, you may not even have to move the
data to separate sheets. (I'd try my best to keep one set of data. If you have
two copies, it won't be too long before one version is different from the other.
But if you must, maybe you could use a program (on demand) that would move or
copy your data.
I'd borrow some code from Debra Dalgleish's site:
http://www.contextures.com/excelfiles.html
Create New Sheets from Filtered List -- uses an Advanced Filter to create
separate sheet of orders for each sales rep visible in a filtered list; macro
automates the filter. AdvFilterRepFiltered.xls 35 kb
Ron de Bruin has an addin that may do what you want right out of the box:
http://www.rondebruin.nl/easyfilter.htm
If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm
thanks. this may be useful, and this is what i want to do actually, if u are
interested:
I have a workbook with one master worksheet and several others for each bank
i work with.
When i enter a new record in the master worksheet (for instance i get a
check from citibank) this record should go to the appropriate place in the
"citibank worksheet".
Briefly, i have a master worksheet that has all the records that i entered,
and others each has only the fitting records.
copyhaber iletisinde þunlarý said:Hi serdar,
You may want to use the Change event of the worksheet. For example
thefollowing code to the VBA module of your active worksheet and try changing
value in cell [A1]:
'---code start----
Private Sub Worksheet_Change(ByVal Target As Range)
If Not Intersect(Target, Me.[a1]) Is Nothing Then _
Call Test
End Sub
Sub Test()
MsgBox "Hello!"
End Sub
'---code end----
Reagrds,
KL
See the question about vbasic functions below also.
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.