Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
sample image
https://i.imgur.com/l32T2VM.jpg code vba excel Sub pasteoneonecolumn() Dim lngRow As Long, objCOMAddin As COMAddIn lngRow = 1 With ActiveSheet For Each objCOMAddin In Application.COMAddIns .Cells(lngRow, "E").Value = .Cells(lngRow, "A").Value .Cells(lngRow, "F").Value = .Cells(lngRow, "B").Value .Cells(lngRow, "G").Value = .Cells(lngRow, "C").Value lngRow = lngRow + 1 Next objCOMAddin End With End Sub for ask why not all, only E1:E7 only up to 7 columns, how can I get all the columns? anyone can help for vba excel that ? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
copy/paste in the next column | Excel Programming | |||
Why won't the copy/paste from PDF retain the row/column in excel? | Excel Discussion (Misc queries) | |||
Copy column in Excel and paste horizontally in Word. | Excel Discussion (Misc queries) | |||
Save column J only using copy/paste & temporary copy | Excel Programming | |||
Open file, Copy a column and paste this into a new Excel doc - Pl | Excel Programming |