PC Review


Reply
Thread Tools Rate Thread

Dynamic Creation of list box on excel sheet and handling events

 
 
jigs
Guest
Posts: n/a
 
      18th Jan 2007
hi all,
i m a SAP developer and i m developing one interface where data
maintanance of SAP will be done through EXCEL.
I am new in EXcel/VBA. I wanted to create one list box in each data row
of the excel dynamically and also wnated that list box events shd also
be handled..
please let me know asap..its really required urgently.

jigs d.

 
Reply With Quote
 
 
 
 
NickHK
Guest
Posts: n/a
 
      18th Jan 2007
You can get the code for adding controls by recording a macro
(Tools>Macro>Record New Macro) in Excel.
For adding code to files:
http://www.cpearson.com/excel/vbe.htm

However, there may be better ways of achieving you aim if you explain. e.g.
Data validation, userforms...

NickHK

"jigs" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> hi all,
> i m a SAP developer and i m developing one interface where data
> maintanance of SAP will be done through EXCEL.
> I am new in EXcel/VBA. I wanted to create one list box in each data row
> of the excel dynamically and also wnated that list box events shd also
> be handled..
> please let me know asap..its really required urgently.
>
> jigs d.
>



 
Reply With Quote
 
jigs
Guest
Posts: n/a
 
      18th Jan 2007
hi nick,
i dont wnat to use forms in excel or recording..
please suggest me some other solution asap

thanks,
jigs


NickHK wrote:
> You can get the code for adding controls by recording a macro
> (Tools>Macro>Record New Macro) in Excel.
> For adding code to files:
> http://www.cpearson.com/excel/vbe.htm
>
> However, there may be better ways of achieving you aim if you explain. e.g.
> Data validation, userforms...
>
> NickHK
>
> "jigs" <(E-Mail Removed)> wrote in message
> news:(E-Mail Removed)...
> > hi all,
> > i m a SAP developer and i m developing one interface where data
> > maintanance of SAP will be done through EXCEL.
> > I am new in EXcel/VBA. I wanted to create one list box in each data row
> > of the excel dynamically and also wnated that list box events shd also
> > be handled..
> > please let me know asap..its really required urgently.
> >
> > jigs d.
> >


 
Reply With Quote
 
NickHK
Guest
Posts: n/a
 
      18th Jan 2007
Recording a macro will involve less time than waiting here for an answer.

NickHK

"jigs" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> hi nick,
> i dont wnat to use forms in excel or recording..
> please suggest me some other solution asap
>
> thanks,
> jigs
>
>
> NickHK wrote:
> > You can get the code for adding controls by recording a macro
> > (Tools>Macro>Record New Macro) in Excel.
> > For adding code to files:
> > http://www.cpearson.com/excel/vbe.htm
> >
> > However, there may be better ways of achieving you aim if you explain.

e.g.
> > Data validation, userforms...
> >
> > NickHK
> >
> > "jigs" <(E-Mail Removed)> wrote in message
> > news:(E-Mail Removed)...
> > > hi all,
> > > i m a SAP developer and i m developing one interface where data
> > > maintanance of SAP will be done through EXCEL.
> > > I am new in EXcel/VBA. I wanted to create one list box in each data

row
> > > of the excel dynamically and also wnated that list box events shd also
> > > be handled..
> > > please let me know asap..its really required urgently.
> > >
> > > jigs d.
> > >

>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Error in dynamic excel creation ramkumar_cpt Microsoft Excel Discussion 0 9th Dec 2005 02:18 PM
RE: on method for handling dynamic control events =?Utf-8?B?Sko=?= Microsoft ASP .NET 2 2nd Nov 2005 09:54 AM
dynamic button creation with event handling? Peter Vermilye Microsoft ASP .NET 3 24th Jun 2005 01:42 AM
ASP Dynamic Excel Creation Chris Oswald Microsoft Excel Programming 0 9th Nov 2004 05:27 PM
Dynamic Control Creation w/Events? Jeff Voigt Microsoft ASP .NET 1 8th Jul 2003 08:08 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 05:17 PM.