Accessing the Auto List

xzmike

Board Regular
Joined
Feb 15, 2002
Messages
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
 

Excel Facts

How to fill five years of quarters?
Type 1Q-2023 in a cell. Grab the fill handle and drag down or right. After 4Q-2023, Excel will jump to 1Q-2024. Dash can be any character.
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.
 
Upvote 0
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.
 
Upvote 0

Forum statistics

Threads
1,214,385
Messages
6,119,208
Members
448,874
Latest member
b1step2far

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top