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.
 

Some videos you may like

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

Norie

Well-known Member
Joined
Apr 28, 2004
Messages
76,263
Office Version
  1. 365
Platform
  1. Windows
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?
 

Shepherd

New Member
Joined
Jan 9, 2015
Messages
8
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.
 

Watch MrExcel Video

Forum statistics

Threads
1,126,924
Messages
5,621,629
Members
415,848
Latest member
LCC

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
Top