Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a spreadsheet with 3000 and some rows. I am using the code below to
initialise cells to 0 and this works fine. The problem is that some of the cells contain formulae and when I initialise to 0, the formulae are not kept. I just want to initialize cell contents and not loose the cell formulae. Any suggestions in VBA please? Sub initializeCells() v = 0# n = Cells(Rows.count, "C").End(xlUp).Row Range("C13:F" & n).Value = v End Sub -- Ruth_C |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
using cell contents in a formula | Excel Worksheet Functions | |||
Need to have cell C8 contain contents of Cell G(formula) | Excel Discussion (Misc queries) | |||
Using cell contents within a formula | Excel Worksheet Functions | |||
formula for different cell contents | Excel Programming | |||
Cell contents vs. Formula contents | Excel Discussion (Misc queries) |