ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   VBE Coding tools (https://www.excelbanter.com/excel-programming/397816-vbe-coding-tools.html)

diddy_david

VBE Coding tools
 
I depend on the list properties/method tool in th editor to write code and I
can't understand why it sometimes works and other times not. EG. if I type

Range("A1").

the properties/method tool is shown. If I enter

Selection.

it is not shown, why is that??

Bob Phillips

VBE Coding tools
 
Because selection is not necessarily a range, it can be a number of objects,
so intellisense doesn't know what to suggest.

Same with Activesheet, that is not necessarily a worksheet.

--
---
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)



"diddy_david" wrote in message
...
I depend on the list properties/method tool in th editor to write code and
I
can't understand why it sometimes works and other times not. EG. if I
type

Range("A1").

the properties/method tool is shown. If I enter

Selection.

it is not shown, why is that??





All times are GMT +1. The time now is 07:40 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com