Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default help pls.........

Good day to everyone!
nway,I'm going to detailed my current situation right
now and what I want to do.
I have a workbook named WBOOK with I think 20 worksheets. What I want is to
have a User form(my main menu) to run whenever I open the workbook (I've
already done that) I've also added forms (for every worksheet there is a
corresponding form).

What I want to do is to be able to edit and delete data from worksheets
through its form. Example: in student table which has a field of id no.,
name, etc. When a user want to edit he must provide an id no. then if found
those information will be displayed in its corresponding control in the form.
how's that?

I think my problem is in setting-up ODBC connection. When I click Tools it
has no "Reference" Sub Menu. By the way I'm, using Excel 2002. Could somebody
help me how to set-up a connection less DSN" Like go to Control Panel then
find ODBC then what's next?

I hope you can help me.

Thank You for spending time with this. God Bless!



  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default help pls.........

If the forms are in the WB, then there's no need for any ODBC etc stuff.
You can reference the WS directly.

'<Form1
TextBox1.Text=Workshets(1).Range("A1").Value

'<Form2
TextBox1.Text=Workshets(2).Range("A1").Value

How you display the WS data on the form is up to you.
Start simple to get something working, then add details.

NickHK

"Chinx21" . wrote in message
...
Good day to everyone!
nway,I'm going to detailed my current situation right
now and what I want to do.
I have a workbook named WBOOK with I think 20 worksheets. What I want is

to
have a User form(my main menu) to run whenever I open the workbook (I've
already done that) I've also added forms (for every worksheet there is a
corresponding form).

What I want to do is to be able to edit and delete data from worksheets
through its form. Example: in student table which has a field of id no.,
name, etc. When a user want to edit he must provide an id no. then if

found
those information will be displayed in its corresponding control in the

form.
how's that?

I think my problem is in setting-up ODBC connection. When I click Tools it
has no "Reference" Sub Menu. By the way I'm, using Excel 2002. Could

somebody
help me how to set-up a connection less DSN" Like go to Control Panel then
find ODBC then what's next?

I hope you can help me.

Thank You for spending time with this. God Bless!





  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 25
Default help pls.........

Thanks Nick. I hope you'll still help me in my future questions.. I
appreciate it!


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,391
Default help pls.........

Make a simple start with a textbox, reading and writing to the correct WS.
Then add combo boxes, filled from a range etc...

If (when) you reach an impasse, post back with a specific question.
I'm sure all will try to help.

NickHK

"Chinx21" . wrote in message
...
Thanks Nick. I hope you'll still help me in my future questions.. I
appreciate it!




Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

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



All times are GMT +1. The time now is 09:14 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"