Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a single Column in one Spreadsheet of a workbook, and the values have
to be Column headings in another spreadsheet in the same workbook. How can I do this Programmatically? Any help is greatly appreciated. Thanks. J |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
ToolsMacro "Record New Macro"
Copy the range of cells(not more than 256) from source worksheet. Switch to target worksheet and Paste SpecialTransposeOKEsc. Stop recording. Gord Dibben Excel MVP On Fri, 22 Oct 2004 14:09:02 -0700, "JP" wrote: I have a single Column in one Spreadsheet of a workbook, and the values have to be Column headings in another spreadsheet in the same workbook. How can I do this Programmatically? Any help is greatly appreciated. Thanks. J |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
with worksheets("sheet1")
set rng = .Range(.Cells(1,1),.Cells(1,1).End(xldown)) End with if rng.count <= 256 then rng.copy worksheets("Sheet2").Cells(1,1).PasteSpecial paste:=xlPasteAll, Transpose:=True end If -- Rgars, Tom Ogilvy "JP" wrote in message ... I have a single Column in one Spreadsheet of a workbook, and the values have to be Column headings in another spreadsheet in the same workbook. How can I do this Programmatically? Any help is greatly appreciated. Thanks. J |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do you make column headings in Excel that are vertical? | Excel Discussion (Misc queries) | |||
HOW TO MAKE VERTICAL COLUMN HEADINGS | Excel Discussion (Misc queries) | |||
How do I make column headings vertical in Excel | New Users to Excel | |||
How did I make my column headings become numeric (1 2 3) | New Users to Excel | |||
How do I take information in 1 column to make column headings? | Excel Discussion (Misc queries) |