working with exel vba object model

Shepherd

New Member
Joined
Jan 9, 2015
Messages
8
where can I get a solid understanding of the vba object model and get up to speed with developing VBA code? Also, Years ago as a Visual Basic programmer, when we would type something like 'With Selection." or "Range("a2")." after we typed the "." the objects and properties of the Selection object would automatically display, giving us insight into the hierarchy of the VBA object model. Is this capability available in the VBA module editor and if so, how do we access it. Trying it, it doesn't seem to work.
 

Excel Facts

Control Word Wrap
Press Alt+Enter to move to a new row in a cell. Lets you control where the words wrap.
Here's a link to the Microsoft pages on the Object Model, you might also want to look into the Object Browser(F2) in the IDE.

P.S. I can see I've ever seen Intellisense work for Selection, think that might have been because the VBE wouldn't know what exactly Selection was - is it a range, a chart, a plane?
 
Upvote 0
Here's a link to the Microsoft pages on the Object Model, you might also want to look into the Object Browser(F2) in the IDE.

P.S. I can see I've ever seen Intellisense work for Selection, think that might have been because the VBE wouldn't know what exactly Selection was - is it a range, a chart, a plane?
Thank you for your quick response. This gives me some things to look at.
 
Upvote 0

Forum statistics

Threads
1,214,945
Messages
6,122,395
Members
449,081
Latest member
JAMES KECULAH

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