VBA

priya_anthony

Board Regular
Joined
Jul 17, 2007
Messages
64
Hi

Just need your help
I have got data in an array i need to put the data on to the data grid
could you just help me with the code part of it

Thanks and Regards
Priya
 

Excel Facts

Excel motto
Not everything I do at work revolves around Excel. Only the fun parts.
Hi

Actually i have data that is taken from SAP and its in a object oApplHelp
now what i m actually out is to display the retrieved data on to a grid or table

Thanks
Priya
 
Upvote 0
hi
Actually everything that the link is based on .net frame 3.0
and i m looking out for some code in VBA

Thanks
Priya
 
Upvote 0
The link contains Visual Basic code.

You can use the ONKEY method to assign a procedure to a keystroke combination:

Code:
Sub Test()
    Application.OnKey "+{F4}", "ShowForm"
End Sub

Sub ShowForm()
    UserForm1.Show
End Sub
 
Upvote 0
vba

Hi
actually data can be set to the data member field of the data grid but the thing it need not being seen on to the grid
Kidnly help
Badly stuck
 
Upvote 0
Hi

actually i m looking to display the data on to a grid
i.e
Grid1.AddItem ("Applicant no")
Grid1.AddItem ("Applicant name")
now the data in coming on to the next row instead of the next column
How can set the column index for the same
Kindly help
_________________
 
Upvote 0
grid

Hi
Actually my data is in the table object oApplhelp and the data is coming from SAP
and the code that i m using is as follows

For i = 1 To oApplHelp.RowCount
UserForm3.Grid1.AddItem = oApplHelp.Value(i, 1)
UserForm3.Grid1.AddItem = oApplHelp.Value(i, 2)
Next i

Now the issue is the data gets added on to the next row instead of the next column

Kidnly help
Badly stuck
 
Upvote 0

Forum statistics

Threads
1,214,827
Messages
6,121,821
Members
449,049
Latest member
cybersurfer5000

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