Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to tighten up some old code that used a loop to change blank
cells to 0. I want to use the following code but it doesn't work. Range("A2").Select Set MyRange = ActiveCell.CurrentRegion MyRange.Select Range(MyRange).SpecialCells(xlCellTypeBlanks) = "0" ' this does not work ' old code had a loop structure here using MyRange and it works but is slow if I use [Range(a1:aq237).SpecialCells(xlCellTypeBlanks) = "0"] then it works fine, any ideas. thanx |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA Range Property | Excel Programming | |||
range property of range object | Excel Programming | |||
Row and Column from Used Range property?? | Excel Programming | |||
Range Resize property | Excel Programming | |||
using a range with isnumber property | Excel Programming |