Copiyng From one sheet to the other (excel)

Hi everyone,

I have a issue:

In SheetA I have:

Cell A1 = bla bla
Cell F2 = bla bla
Cell G3 = bla bla

Is there any code that can help me to bring the contents of these cells and copy them to

Sheet B

A1 = Sheet cell 1A
B1 = Sheet cell F2
C1 = Sheet cell G3. Because on sheet A this cells will be refreshed cotiniously so I was trynig to insert a commandclick nammed save that every time the user click on the command cotton the contents of these cells should be added on the next sheet in a row and the next time the contents of sheet a should be added again in sheet B but on the next row and so on.

Resume: In sheet a I have: |John | Frederick| class 1b| this should be copied on the second row of sheet b then when I click on the command botton next time will have
|Maurice| Antonius | class 5d| and so on so sheet 2 will be creating lika a sort of list with multiple rows.

Please if anyone can help me I will higly apreciate it .

Thanks Regards

Theo  
NEW_INDIAAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

scrathcyboyCommented:
Do this manually, or automated?
For manual, you just highlight the 3 separate cells you want holding down control key.  then click on new DB tab, and set cursor to A1 and do paste -- three cells copy in sequentially, as you want.

For automated?  Have to write simple excel command copy A1 F2 G3 table 1 to A1 B1 C1 table 2, and you are done.  If you dont know what cells are to be, then have to write a complex routine to search for data in cells, and this very tough to do.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
EarnBrzCommented:
write this in an module and then call it with your button.
 
Function sheetAUpdate
Dim ILastrow As Integer
On Error Resume Next
    ILastrow = Sheets("B").Cells.Find(What:="*", _
      SearchDirection:=xlPrevious, _
      SearchOrder:=xlByRows).Row
      ILastrow = ILastrow + 1
Sheets("B").Cells(ILastrow, 1) = Sheets("A").Cells(1, 1)
Sheets("B").Cells(ILastrow, 2) = Sheets("A").Cells(2, 6)
Sheets("B").Cells(ILastrow, 3) = Sheets("A").Cells(3, 7)
On Error GoTo 0
End Function
regards Stefan
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Programming

From novice to tech pro — start learning today.

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.