MSHFlexGrid     Unbound

Posted on 2001-08-28
Last Modified: 2012-05-04
i need example code of the MSHFlexGrid (Heirarchical Grid)
with UNBOUND data

Question by:adl
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions

Accepted Solution

afsary082101 earned 100 total points
ID: 6431604

Right click on the control and selec property

in the 1st tab of the property page
set fixed rows = 1, fixed cols = 0

select 2nd tab of property page

in the bottom text box type

Col1  |Col2  |Col3  

click apply and you will see 3 columns in the grid

now on Form_Load event

MSFlexGrid1.AddItem "Text1" & vbtab & "Text2" & vbtab & "Text3"

MSFlexGrid1.AddItem "Text1" & vbtab & "Text2" & vbtab & "Text3"

MSFlexGrid1.AddItem "Text1" & vbtab & "Text2" & vbtab & "Text3"

you will see 3 rows in the grid.

Author Comment

ID: 6435367
i want to build the grid so that i can expand and collapse the data ( + and - )

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article ( for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…

719 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question