Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I have the code below: ActiveCell.Offset(28, 0) = CS.Cells(i, 23) Question: how can I move the formatting at the same time. When the CS.Cells is a date, it gets set to the general format. Thanks, Bill |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
try
=format(cs.cells(i,23),"mm/dd/yy") or with ActiveCell.Offset(28, 0) ..value = CS.Cells(i, 23) ..numberformat= desired format end with -- Don Guillett SalesAid Software "Bill" wrote in message ink.net... Hello, I have the code below: ActiveCell.Offset(28, 0) = CS.Cells(i, 23) Question: how can I move the formatting at the same time. When the CS.Cells is a date, it gets set to the general format. Thanks, Bill |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Bill,
Use copy: CS.Cells(i, 23).copy ActiveCell.Offset(28, 0) "Bill" wrote: Hello, I have the code below: ActiveCell.Offset(28, 0) = CS.Cells(i, 23) Question: how can I move the formatting at the same time. When the CS.Cells is a date, it gets set to the general format. Thanks, Bill |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Copying Dates Question | Setting up and Configuration of Excel | |||
Question on copying formulas | Excel Worksheet Functions | |||
Copying Formulas Question | Excel Discussion (Misc queries) | |||
copying formula question | Excel Discussion (Misc queries) | |||
Copying and Pasting---Another question... | Excel Discussion (Misc queries) |