![]() |
![]() |
|
|||||||
| Excel Questions All Excel/VBA questions - formulas, macros, pivot tables, general help, etc. Please post to this forum in English only. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Board Regular
Join Date: Feb 2002
Posts: 110
|
How can I (or why can't I) access the auto list in the second example? The first one works fine, but after I put in cells(1).
no auto list.(but if I fill it in myself it works) Range("a1:a2").Interior.Color = vbRed Range("a1:a2").Cells(1). Thanks, Mike |
|
|
|
|
|
#2 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Winnipeg
Posts: 2,330
|
Mike, what do you mean by "auto list"? I've never heard that expression before.
|
|
|
|
|
|
#3 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Auckland, New Zealand
Posts: 4,209
|
Hi Barry
The autolist feature he refers to is avial via the VBA editor > Tools > Options >editor You are probably already using it ? ie when you type in your syntax (as long as the word is a recognised object) then placing the command signal . causes the interprter to display a list of applicable properties /methods. |
|
|
|
|
|
#4 |
|
MrExcel MVP
Join Date: Feb 2002
Location: Winnipeg
Posts: 2,330
|
Thanks Ivan, now I know what he means.
__________________
Barrie Davidson "You're only given a little spark of madness. You mustn't lose it." - Robin Williams |
|
|
|
|
|
#5 |
|
Guest
Posts: n/a
|
Don't know why - I think the only way around it is to insert ".Cells(1)" after the rest of the code in that line has been done.
|
|
![]() |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|