Results 1 to 2 of 2

is there any way to paste the data on the last row of excel.

Threaded View

A9kurs is there any way to paste the... 08-28-2019, 05:17 PM
JLGWhiz Re: is there any way to paste... 08-28-2019, 07:22 PM
  1. #1
    Registered User
    Join Date
    03-06-2019
    Location
    Canada
    MS-Off Ver
    Office 365
    Posts
    79

    is there any way to paste the data on the last row of excel.

    hi

    how can i paste the data on last column after previous data.
    Sub GetFileCopyData1()
    Application.ScreenUpdating = False
    Application.DisplayAlerts = False
    Dim Fname As String
    Dim SrcWbk As Workbook
    Dim DestWbk As Workbook
    Set DestWbk = ThisWorkbook
    Fname = Application.GetOpenFilename(FileFilter:="Excel Files (*.xls*), *.xls*", Title:="Select a File")
    If Fname = "False" Then Exit Sub
    Set SrcWbk = Workbooks.Open(Fname)
    'SrcWbk.Sheets("Planned Inventory Transactions_").Range("A:X").Copy DestWbk.Sheets("Planned Inventory Transactions_").Range("A:X")
    SrcWbk.Sheets("Planned Inventory Transactions_").Range("A:X").Copy DestWbk.Sheets("Planned Inventory Transactions_").Range("A2:X2" & Range("A" & Rows.Count).End(xlUp).Row)
    SrcWbk.Close False
    Call Fill_Down
    Call CopyPaste
    End Sub
    Thanks
    Attached Files Attached Files
    Last edited by A9kurs; 08-29-2019 at 10:03 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Copy/Paste excel data with data bars to Powerpoint
    By sgoyal in forum Excel General
    Replies: 1
    Last Post: 03-05-2014, 04:18 PM
  2. [SOLVED] ActiveSheet.Paste Link:= True Does Not Work After Awhile - 1004 MS Excel cannot paste data
    By zfeinstein in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-25-2013, 04:28 PM
  3. Replies: 1
    Last Post: 01-16-2013, 05:36 AM
  4. copy data from excel and paste the data to word document in speciofic column.
    By vsabap in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 12-17-2012, 07:12 AM
  5. Replies: 1
    Last Post: 10-01-2012, 11:11 PM
  6. Replies: 1
    Last Post: 07-31-2012, 03:55 PM
  7. Replies: 3
    Last Post: 12-09-2005, 01:20 PM

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