SamarthSalunkhe
Board Regular
- Joined
- Jun 14, 2021
- Messages
- 103
- Office Version
- 2016
- Platform
- Windows
Hi All,
I am using below code to get data from respective cell, but I want code to get data from full column.
Means I am using below code for B1 cell only. But if want code should be check value of column ('B:B") from Sheet1 and take it in Shee2 column ("B:B").
can anyone help me with the code it will help me a lot.
Thank You
I am using below code to get data from respective cell, but I want code to get data from full column.
Means I am using below code for B1 cell only. But if want code should be check value of column ('B:B") from Sheet1 and take it in Shee2 column ("B:B").
VBA Code:
Sub Select_Data()
If Sheet1.Range("B1").Value <> "" Then Sheet2.Range("B1").Value = Sheet1.Range("B1").Value
End Sub
can anyone help me with the code it will help me a lot.
Thank You