Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I currently have multiple situations where code resembles the following:
Range("a" & numberrows + 1).Select Range("a" & numberrows + 1).Formula = "=date(YEAR(begrevdate)+1,month(begrevdate),day(be grevdate))" Selection.NumberFormat = "m/d/yyyy" In order to reduce the size and complexity, I would like to be able to condense some of the coding to resemble something like: Range("a" & numberrows + 1).Formula = "=date(YEAR(begrevdate)+1,month(begrevdate),day(be grevdate))"; NumberFormat = "m/d/yyyy" I thought this was possible but my attempts to play with syntax have been unsuccessful in getting it to work. Any help would be much appreciated. TIA |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Combine and fill Names & Addresses in 2 lines? | Excel Discussion (Misc queries) | |||
Combine stacked column and line chart w/series lines | Charts and Charting in Excel | |||
"how to combine multiple lines into a pull down option?" | Excel Worksheet Functions | |||
Want to combine columns and horizontal lines in complex chart - Can it be Done?! | Charts and Charting in Excel | |||
Combine Code | Excel Programming |