+ Reply to Thread
Results 1 to 2 of 2

Need to paste the data from one sheet to another using vba

  1. #1
    Registered User
    Join Date
    03-06-2019
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    79

    Lightbulb Need to paste the data from one sheet to another using vba

    Hi everyone ,

    I am trying to paste the data from one sheet to another using vba. I want to paste company "ALL" from Mannual savings sheet to FY data sheet in last cell where data is ending Cell "B26". using vba Highlighted in yellow which is a desired output required in end of FY data.

    Thanks for helping
    Attached Files Attached Files

  2. #2
    Forum Expert
    Join Date
    11-24-2013
    Location
    Paris, France
    MS-Off Ver
    Excel 2003 / 2010
    Posts
    9,831

    Cool Hi ! Try this demonstration …


    Reproducing what any Excel beginner can achieve operating manually just starting with the Macro Recorder
    so according to your attachment as a VBA beginner starter :

    PHP Code: 
    Sub Demo1()
             Const 
    "All"
        
    With Sheets(1).UsedRange.Columns(1)
             If 
    IsError(Application.Match(C, .Cells0)) Then Beep: Exit Sub
             Application
    .ScreenUpdating False
             
    If .Parent.FilterMode Then .Parent.ShowAllData
            
    .Cells(1).AutoFilter 1C
            
    .Offset(1).Copy Sheets(2).Cells(Rows.Count2).End(xlUp)(2)
            .
    Cells(1).AutoFilter 1
        End With
             Application
    .ScreenUpdating True
    End Sub 
    ► Do you like it ? ► ► So thanks to click on bottom left star icon « Add Reputation » ! ◄ ◄

+ 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. Replies: 6
    Last Post: 03-26-2014, 11:40 PM
  2. [SOLVED] Copy And Paste on Another Sheet ( next time paste data from empty row )
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-17-2014, 02:29 AM
  3. Replies: 0
    Last Post: 05-21-2013, 03:09 PM
  4. How to copy data with formula and paste another sheet as paste spl -value only
    By sumesh56 in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-14-2013, 09:03 PM
  5. [SOLVED] Copy and paste data from sheet 2 to sheet 1 based on specific criteria on sheet 1
    By VBADUD in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-05-2012, 04:18 AM
  6. Copy Sheet / Create & Name New Sheet / Insert Before a Sheet / Paste Data
    By thinkspac in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-12-2012, 02:27 PM
  7. [SOLVED] Paste data from source sheet to data sheet using 1st available row within a named range.
    By Krex14 in forum Excel Programming / VBA / Macros
    Replies: 18
    Last Post: 08-28-2012, 08:14 AM
  8. Replies: 2
    Last Post: 02-22-2011, 02:07 AM

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