Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi - I hope this question isnt too newbie. I am trying to copy all of a row,
including all of its attributes like formatting, column widths, etc. The code snippet that I am currently using to perform the copy is: wsDST.Rows(DstRow).Value = wsSRC.Rows(SrcRow).Value This, of course, works for just the cell values. But trying to modify the above to include the other desired attributes has eluded me. Thanks Much |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try something like
wsSRC.Rows(SrcRow).Copy Destination:=wsDST.Rows(DstRow).Value -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "RjS, CISSP" wrote in message ... Hi - I hope this question isnt too newbie. I am trying to copy all of a row, including all of its attributes like formatting, column widths, etc. The code snippet that I am currently using to perform the copy is: wsDST.Rows(DstRow).Value = wsSRC.Rows(SrcRow).Value This, of course, works for just the cell values. But trying to modify the above to include the other desired attributes has eluded me. Thanks Much |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi R,
Try: wsSRC.Rows(SrcRow).Copy ActiveSheet.Paste Destination:=wsDST.Rows(DstRow) wsDST.Rows(DstRow).PasteSpecial Paste:=8, _ Operation:=xlNone, _ SkipBlanks:=False, _ Transpose:=False Application.CutCopyMode = False --- Regards, Norman "RjS, CISSP" wrote in message ... Hi - I hope this question isnt too newbie. I am trying to copy all of a row, including all of its attributes like formatting, column widths, etc. The code snippet that I am currently using to perform the copy is: wsDST.Rows(DstRow).Value = wsSRC.Rows(SrcRow).Value This, of course, works for just the cell values. But trying to modify the above to include the other desired attributes has eluded me. Thanks Much |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
ATTRIBUTES | Excel Discussion (Misc queries) | |||
Changing attributes | Excel Discussion (Misc queries) | |||
Data value display attributes linked to table attributes | Charts and Charting in Excel | |||
Shortcut Attributes | Excel Programming | |||
Font Attributes | Excel Worksheet Functions |