Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
If I enter data in A1 thru C1 and run:
Sub sample1() Set r1 = Range("A1:C1") Set r2 = Range("A3:C3") r2.Value = r1.Value End Sub The values get correctly setup in A3 thru C3, but if I run: Sub sample2() Set r1 = Range("A1:C1") Set r2 = Range("A3:C3") r2.NumberFormat = r1.NumberFormat End Sub the formats do not get setup. Why? -- Gary''s Student - gsnu2007xx |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
UDF setup for a range of cells | Excel Programming | |||
Looping through Cells | Excel Programming | |||
Looping through cells using VBA | Excel Programming | |||
How can i setup tab order of cells the way i want them? | Setting up and Configuration of Excel | |||
Looping on Cells with $x$y | Excel Programming |