need help in Excel

hi there
plz help me in this peoblem
how can i connect two bockes together in the excel example:
i want every thing i am writing in a book happend to another one

send to me as soon as you can

loayAsked:
Who is Participating?
 
calacucciaConnect With a Mentor Commented:
Hi Loay,

Since no feedback from you, I'm grading to an answer ...
0
 
jcummingsCommented:
The easiest and quickest way to do this is to do the work in one book and then copy it to another when you are done.
0
 
joedCommented:
There ia a way to make a cell in one reference a cell in another book. I'm sorry I can't tell you exactly how.

found it follow these steps
1,copy cells you want
2.go to new sheet
3.edit-paste special
4.paste link at bottom right of panel
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
loayAuthor Commented:
I want to do this using macros, not by copy and paste, So can you help me,
for that I reject the answer you send..
Your's
Loay jaber
0
 
calacucciaCommented:
Hi Loay,

Supposing your soruce workbook  is called "Book1.xls" and copy workbook is called "Book2.xls" & both are opened as blank workbooks, put this code in the Workbook_SheetChange event of "Book1.xls"

Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Excel.Range)
Workbooks("Book2.xls").Sheets(ActiveSheet.Name).Range(Target.Address) = Target
End Sub

To get there, right-click on the Excel-symbol left next to 'File' in the menu bar, and select view code, then paste the above lines. Close the Visual Basic Editor afterwards, to save your changes.

What will happen now, is that every text you type in "Book1.xls" will be copied automatically in "Book2.xls"

Hope this is what you want,

Calacuccia
0
 
loayAuthor Commented:
hi calacuccia
but your answer didnt work because when i try it it give me "over flow " and there are nothing happen

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.