Vishalunleashed
New Member
Dear Excel Titans,
I need help in terms of identifying the right syntax for the last column cell. Basically I want to transpose data from sheet to another sheet at the last non blank active column value because I already pasted data to last active row so that leaves me to identify the last active column so I can paste next to it.
Here is the option that I tried but it is not working:
Cheers!
MOD EDIT: Please use Code Tags to post Code.
I need help in terms of identifying the right syntax for the last column cell. Basically I want to transpose data from sheet to another sheet at the last non blank active column value because I already pasted data to last active row so that leaves me to identify the last active column so I can paste next to it.
Here is the option that I tried but it is not working:
Code:
c = ActiveSheet.Cells.SpecialCells(xlCellTypeLastCell).Column
c = Worksheets("TVI#").Cells(1, Columns.Count).End(xlToLeft).Column
Worksheets("TVI#").Cells(1, c + 1).Select
Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _
:=False, Transpose:=True
Cheers!
MOD EDIT: Please use Code Tags to post Code.
Last edited by a moderator: