+ Reply to Thread
Results 1 to 4 of 4

VBA Transfer New data from a sheet to another sheet

  1. #1
    Registered User
    Join Date
    07-06-2015
    Location
    Iowa
    MS-Off Ver
    2013
    Posts
    15

    VBA Transfer New data from a sheet to another sheet

    Hi All,

    I'm still fairly new to VBA and this forum has been more than useful in the past but I was unable to find anything threads like a need.

    Here is what I am going for:

    In one spreadsheet I have a list of 250 of companies, where I can hopefully enter an expected loss in Column I (but only select companies, it will vary every time I use the spreadsheet)

    After I enter the expected losses. I'm hoping to pull the information to another sheet that will give me a running list of the losses that I have sorted by the date entered. (If you can't tell I work in Insurance)

    I'm hoping to do this all with a command button.

    Thanks for any help in Advance!

  2. #2
    Forum Expert sourabhg98's Avatar
    Join Date
    10-22-2014
    Location
    New Delhi, India
    MS-Off Ver
    Excel 2007, 2013
    Posts
    1,899

    Re: VBA Transfer New data from a sheet to another sheet

    Could you show us an example in a sample spreadsheet?
    Happy to Help

    How to upload excel workbooks at this forum - http://www.excelforum.com/the-water-...his-forum.html

    "I don't get things easily, so please be precise and elaborate"

    If someone's post has helped you, thank by clicking on "Add Reputation" below the post.
    If your query is resolved please mark the thread as "Solved" from the "Thread Tools" above.

    Sourabh

  3. #3
    Registered User
    Join Date
    07-06-2015
    Location
    Iowa
    MS-Off Ver
    2013
    Posts
    15

    Re: VBA Transfer New data from a sheet to another sheet

    Something along the lines of this. So when I click the Save Losses button it will pull only the losses that I have entered and put them into sheet2 in the next open cell.VBA Help.PNG

  4. #4
    Registered User
    Join Date
    07-06-2015
    Location
    Iowa
    MS-Off Ver
    2013
    Posts
    15

    Re: VBA Transfer New data from a sheet to another sheet

    Here is the final solution I came up with:

    Sub Macro2()

    Application.ScreenUpdating = False

    Dim copySheet As Worksheet
    Dim pasteSheet As Worksheet

    Set copySheet = Worksheets("Loss Input")
    Set pasteSheet = Worksheets("Storm History")

    Set rng = Range("I2:I300")
    rng.SpecialCells(xlCellTypeConstants).EntireRow.Select
    Selection.Copy

    pasteSheet.Range("A" & Rows.Count).End(xlUp).Offset(1, 0).PasteSpecial xlPasteValues



    Application.CutCopyMode = False
    Application.ScreenUpdating = True

    End Sub

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Transfer data from sheet to other sheet, protecting the second sheet.
    By Markcassar123 in forum Excel General
    Replies: 4
    Last Post: 06-25-2015, 02:05 AM
  2. [SOLVED] Issue regarding recorded Macro to transfer data from Input sheet to Storage sheet
    By Hirad001 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 01-29-2015, 04:26 PM
  3. Replies: 5
    Last Post: 12-30-2014, 12:41 PM
  4. Replies: 5
    Last Post: 02-09-2014, 08:29 PM
  5. How to transfer data from a daily input sheet to a separate monthly total sheet
    By Jcooper71 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-25-2014, 02:37 PM
  6. Transfer inputed Data from Sheet x: row x to Sheet y : row y or Sheet z: row z
    By Joecruz749 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-04-2013, 03:20 PM
  7. Replies: 1
    Last Post: 02-13-2013, 01:32 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1