Place this code into the VBA module associated with worksheet Sheet1 of your workbook and give it a try:
Private Sub GO_Click() TransferClaimData ClearForm End Sub Sub TransferClaimData() Dim r As Range Set r = Sheets("Sheet2").Range("A" & Rows.Count).End(xlUp).Offset (1) If r.Row = 2 Then r.Value = 1 Else r.Value = r.Offset(-1).Value + 1 End If r.Offset(0, 1).Value = Sheets("Sheet1").Range("C4").Value r.Offset(0, 2).Value = Sheets("Sheet1").Range("C5").Value r.Offset(0, 3).Value = Sheets("Sheet1").Range("C6").Value r.Offset(0, 4).Value = Sheets("Sheet1").Range("C7").Value r.Offset(0, 5).Value = Sheets("Sheet1").Range("C8").Value r.Offset(0, 6).Value = Sheets("Sheet1").Range("C11").Value r.Offset(0, 7).Value = Sheets("Sheet1").Range("C12").Value End Sub Sub ClearForm() Range("C4").Value = "" Range("C5").Value = "" Range("C6").Value = "" Range("C7").Value = "" Range("C8").Value = "" Range("C11").Value = "" Range("C12").Value = "" End Sub Hope this helped, Rolf On Oct 25, 9:45 am, ╚►♥ѕαη∂єєρ♥◄╝ <jackjho...@gmail.com> wrote: > I want when i fill the from and click the GO command button all the info > automaticlly move to sheet2 and the sheet 1 give a blank from again > NOTE : the Claim number will be as string not integer > > -- > Regards: ╚►♥ѕαη∂єєρ♥◄╝ > > Data sheet.xls > 56KViewDownload --~--~---------~--~----~------------~-------~--~----~ ---------------------------------------------------------------------------------- Some important links for excel users: 1. Excel and VBA Tutorials(Video and Text), Free add-ins downloads at http://www.excelitems.com 2. Excel tutorials at http://www.excel-macros.blogspot.com 3. Learn VBA Macros at http://www.vbamacros.blogspot.com 4. Excel Tips and Tricks at http://exceldailytip.blogspot.com To post to this group, send email to excel-macros@googlegroups.com If you find any spam message in the group, please send an email to: Ayush Jain @ jainayus...@gmail.com or Ashish Jain @ 26may.1...@gmail.com <><><><><><><><><><><><><><><><><><><><><><> HELP US GROW !! We reach over 6,500 subscribers worldwide and receive many nice notes about the learning and support from the group. Our goal is to have 10,000 subscribers by the end of 2009. Let friends and co-workers know they can subscribe to group at http://groups.google.com/group/excel-macros/subscribe -~----------~----~----~----~------~----~------~--~---