PFA

On 16/07/2013 11:56, yas wrote:
Ill add my spreadsheet to help.
Its meant to work as a submit button, then transfer over data, then clear Form 2 for someone else to add information.

On Tuesday, 16 July 2013 13:20:14 UTC+10, yas wrote:

    Hi,
    Im chasing help. I have two spreadsheets in which someone will
    enter data in one and it will copy over the data to the next
    speadsheet and then the original data will be deleted to start
    again. I have done this so far that the data transfers over but
    cannot get the data to clear once it has been copied.
    Also if any of the below could be cleared up to make it any easier?
    Thanks heaps in advance.
    Sub EnterData()
    '
    ' EnterData Macro
    ' Macro recorded 27/06/2013 by 94572
    '
        Range("D2:D8").Select
        Selection.Copy
        Sheets("Register").Select
        Range("B4").Select
        Selection.End(xlDown).Select
        ActiveCell.Offset(1, 0).Range("A1").Select
        Selection.PasteSpecial Paste:=xlPasteValues,
    Operation:=xlNone, SkipBlanks _
            :=False, Transpose:=True
        End Sub

    Sub Newrow()
    '
        Range("b4").Select
        If Range("b5") <> "" Then
        Selection.End(xlDown).Select
        ActiveCell.Offset(1, 0).Range("A1").Select
        Else: Range("b5").Select
        Selection.PasteSpecial Paste:=xlPasteValues,
    Operation:=xlNone, SkipBlanks _
            :=False, Transpose:=True
        Sheets("Form (2)").Select
        Range("D2:D8").Select
        Selection.Copy
        Sheets("Register").Select
        Range("B4").Select
        Selection.End(xlDown).Select
        ActiveCell.Offset(1, 0).Range("A1").Select
        Selection.PasteSpecial Paste:=xlPasteValues,
    Operation:=xlNone, SkipBlanks _
            :=False, Transpose:=True
       End If
    End Sub

--
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s =TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE : Don't ever post confidential data in a workbook. Forum owners and members are not responsible for any loss.
---
You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group. To unsubscribe from this group and stop receiving emails from it, send an email to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.



--
Are you =EXP(E:RT) or =NOT(EXP(E:RT)) in Excel? And do you wanna be? It’s 
=TIME(2,DO:IT,N:OW) ! Join official Facebook page of this forum @ 
https://www.facebook.com/discussexcel

FORUM RULES

1) Use concise, accurate thread titles. Poor thread titles, like Please Help, 
Urgent, Need Help, Formula Problem, Code Problem, and Need Advice will not get 
quick attention or may not be answered.
2) Don't post a question in the thread of another member.
3) Don't post questions regarding breaking or bypassing any security measure.
4) Acknowledge the responses you receive, good or bad.
5) Jobs posting is not allowed.
6) Sharing copyrighted material and their links is not allowed.

NOTE  : Don't ever post confidential data in a workbook. Forum owners and 
members are not responsible for any loss.
--- You received this message because you are subscribed to the Google Groups "MS EXCEL AND VBA MACROS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to excel-macros+unsubscr...@googlegroups.com.
To post to this group, send email to excel-macros@googlegroups.com.
Visit this group at http://groups.google.com/group/excel-macros.
For more options, visit https://groups.google.com/groups/opt_out.


Attachment: Sample 4 yas.xlsm
Description: application/vnd.ms-excel.sheet.macroenabled.12

Reply via email to