Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
I think you're getting the range class failure because you haven't specified what sheet Range(i) is on and you haven't put the name of the worksheet in quotes. Try Dim i i = "o5" Worksheets("mahlaka").Activate ActiveSheet.Range(i).Select ActiveCell.Offset(0, 1).Select i = ActiveCell.Address Also you could lose a line of code and use the following dim i i = "o5" Worksheets("mahlaka").Activate ActiveSheet.Range(i).Offset(0, 1).Select i = ActiveCell.Address Hope this helps Libby -----Original Message----- Hi, Why it does't work and returns "range class falure" i = "o5" Worksheets(mahlaka).Activate Range(i).Select ActiveCell.Offset(0, 1).Select i = ActiveCell.Address Please help me . |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Unable to set the FormulaArrary property of the range class | Excel Worksheet Functions | |||
Autofill method of range class failed | Excel Discussion (Misc queries) | |||
Autofill method of range class failed | Excel Discussion (Misc queries) | |||
class range...select...(reserved for expert) | Excel Programming | |||
Unable to set the Locked Property of the Range Class | Excel Programming |