Copying the first four columns data
Closed
Ran
-
6 May 2009 à 10:34
mubashir aziz Posts 190 Registration date Sunday 12 April 2009 Status Member Last seen 16 February 2010 - 8 May 2009 à 02:19
mubashir aziz Posts 190 Registration date Sunday 12 April 2009 Status Member Last seen 16 February 2010 - 8 May 2009 à 02:19
Related:
- Copying the first four columns data
- Protect pdf from copying - Guide
- Tmobile data check - Guide
- How to copy data from one excel sheet to another - Guide
- Blancco data cleaner - Download - Cleaning and optimization
- Download facebook data - Guide
3 responses
mubashir aziz
Posts
190
Registration date
Sunday 12 April 2009
Status
Member
Last seen
16 February 2010
166
7 May 2009 à 02:29
7 May 2009 à 02:29
You can linked the Data in Sheet2 & Sheet3 so whenever you'll make any change in Sheet1 your Sheet2 & 3 will be automatically changed ....
in sheet2 CellA1
A1=Sheet1!A2 then drag it down and left upto 4 columns ......
Do let me know if it helps you
Else if on the basis of these four column of first sheet you want to extract some column then you must use index/match or vlookup ........
in sheet2 CellA1
A1=Sheet1!A2 then drag it down and left upto 4 columns ......
Do let me know if it helps you
Else if on the basis of these four column of first sheet you want to extract some column then you must use index/match or vlookup ........
Thanks for the response,I already tried out this method probably its my fault I didnt told what I have tried out already.
a)I have tried the transpose option also.
I do not want this drag drop or any dummy value in the first 4 columns as this sheet data will be uploaded to other system in the subsequent stages.
Hence I do no want any dummy value and I know the the backend processing which I think can be done u using the macros.
Hope I am clear,if not plz get back,thanks once again....
a)I have tried the transpose option also.
I do not want this drag drop or any dummy value in the first 4 columns as this sheet data will be uploaded to other system in the subsequent stages.
Hence I do no want any dummy value and I know the the backend processing which I think can be done u using the macros.
Hope I am clear,if not plz get back,thanks once again....
mubashir aziz
Posts
190
Registration date
Sunday 12 April 2009
Status
Member
Last seen
16 February 2010
166
8 May 2009 à 02:19
8 May 2009 à 02:19
Try this
Sub Copy_Four()
'
' Macro to copy first 4 colum of sheet1 to sheet 2 & 3
'
Sheets("Sheet1").Activate
Columns("A:D").Select
Selection.Copy
Sheets(Array("Sheet2", "Sheet3")).Select
Sheets("Sheet2").Activate
Columns("A:A").Select
ActiveSheet.Paste
Sheets("Sheet1").Select
Application.CutCopyMode = False
Range("F21").Select
End Sub
Sub Copy_Four()
'
' Macro to copy first 4 colum of sheet1 to sheet 2 & 3
'
Sheets("Sheet1").Activate
Columns("A:D").Select
Selection.Copy
Sheets(Array("Sheet2", "Sheet3")).Select
Sheets("Sheet2").Activate
Columns("A:A").Select
ActiveSheet.Paste
Sheets("Sheet1").Select
Application.CutCopyMode = False
Range("F21").Select
End Sub