jawaharprm
Member
Hi All,
i have done a VBA code for bulk upload and its is working fine.
But i need only help req this, data should upload in "data sheet" if all only all columns are to filled other wise it should have pop msg box pls help on this i have uploaded file for your reference and code in below.
>>> as many times noted <<<
>>> use code - tags <<<
i have done a VBA code for bulk upload and its is working fine.
But i need only help req this, data should upload in "data sheet" if all only all columns are to filled other wise it should have pop msg box pls help on this i have uploaded file for your reference and code in below.
>>> as many times noted <<<
>>> use code - tags <<<
Code:
Option Explicit
Sub copy_paste()
Dim lRow, lRow1 As Long
Application.ScreenUpdating = False
lRow = [Sheet2].Cells(Rows.Count, 1).End(xlUp).Row
lRow1 = [Sheet3].Cells(Rows.Count, 1).End(xlUp).Row + 1
[Sheet2].Range("A4:M" & lRow).Copy
[Sheet3].Range("A" & lRow1).PasteSpecial xlPasteValues
Application.CutCopyMode = False
Sheet3.Select
[Sheet3].Range("A1").Select
Sheet2.Select
[Sheet2].Range("A1").Select
End Sub
Attachments
Last edited by a moderator: