Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello, please help me if you can.
I am trying to make a simple range selection from inside a worksheet module, for example: Range(strRange).End(xlToLeft).Select or even something as simple as: ActiveSheet.Range("A5").Select And I get "Select method of range class failed." error. How can I correct this? Your example code to fix mine would be greatly appreciated. Thanks in advance. |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I'm sorry - please disregard this post. I discovered an
error in my code. -----Original Message----- Hello, please help me if you can. I am trying to make a simple range selection from inside a worksheet module, for example: Range(strRange).End(xlToLeft).Select or even something as simple as: ActiveSheet.Range("A5").Select And I get "Select method of range class failed." error. How can I correct this? Your example code to fix mine would be greatly appreciated. Thanks in advance. . |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I just did both of these without a problem
Sub selcel() 'ActiveSheet.Range("A5").Select strRange = "$IV$1" Range(strRange).End(xlToLeft).Select End Sub Try leaving xl and coming back or re-boot -- Don Guillett SalesAid Software "raj" wrote in message ... Hello, please help me if you can. I am trying to make a simple range selection from inside a worksheet module, for example: Range(strRange).End(xlToLeft).Select or even something as simple as: ActiveSheet.Range("A5").Select And I get "Select method of range class failed." error. How can I correct this? Your example code to fix mine would be greatly appreciated. Thanks in advance. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Identifying a selection of a selection of a range | Excel Worksheet Functions | |||
HOW TO CARRY A VAIABLE RESULTS FROM EXCEL SHEET PROCEDURE TO A MODULE | Excel Discussion (Misc queries) | |||
Drop Down Selection fires a module? | Excel Worksheet Functions | |||
Variable from a sheet module in a class module in XL XP | Excel Programming | |||
To print multiple selection and how to back VBA module pasword | Excel Programming |