PC Review


Reply
Thread Tools Rate Thread

Data passed to spreadsheet from Form. How to reload the spreadsheetdata into the Form?

 
 
Morlin
Guest
Posts: n/a
 
      7th May 2009
I am creating a user form to track training at work for multiple
employees.

I created a userform to enter the data and figured out how to enter
that data into a spreadsheet by creating a submit button.
Here's where I need help.....
I want to be able to lookup by employee ID#, using a search button on
the userform that will allow it to autofill all of the information
back onto the userform so I can make updates and or changes to an
individuals training dates or classes or whatever the specific data
is. Then to be a bigger pain in the butt. I want to be able to hit
"submit" on the userform and have the info on the spreadsheet updated
with the new info.

Can anybody help? I taught myself all of the stuff I have done so
far
but, I am totally stuck.

If anybody is willing to help I would greatly appreciate it.
 
Reply With Quote
 
 
 
 
Per Jessen
Guest
Posts: n/a
 
      7th May 2009
Hi

We need more information on layout of your userform and worksheet, to
give any usefull guidance.

Regards,
Per

On 7 Maj, 04:43, Morlin <troyr...@cox.net> wrote:
> I am creating a user form to track training at work for multiple
> employees.
>
> I created a userform to enter the data and figured out how to enter
> that data into a spreadsheet by creating a submit button.
> Here's where I need help.....
> I want to be able to lookup by employee ID#, using a search button on
> the userform that will allow it to autofill all of the information
> back onto the userform so I can make updates and or changes to an
> individuals training dates or classes or whatever the specific data
> is. *Then to be a bigger pain in the butt. *I want to be able to hit
> "submit" on the userform and have the info on the spreadsheet updated
> with the new info.
>
> Can anybody help? *I taught myself all of the stuff I have done so
> far
> but, I am totally stuck.
>
> If anybody is willing to help I would greatly appreciate it.


 
Reply With Quote
 
Morlin
Guest
Posts: n/a
 
      7th May 2009
On May 6, 7:48*pm, Per Jessen <perjesse...@hotmail.com> wrote:
> Hi
>
> We need more information on layout of your userform and worksheet, to
> give any usefull guidance.
>
> Regards,
> Per
>
> On 7 Maj, 04:43, Morlin <troyr...@cox.net> wrote:
>
>
>
> > I am creating a user form to track training at work for multiple
> > employees.

>
> > I created a userform to enter the data and figured out how to enter
> > that data into a spreadsheet by creating a submit button.
> > Here's where I need help.....
> > I want to be able to lookup by employee ID#, using a search button on
> > the userform that will allow it to autofill all of the information
> > back onto the userform so I can make updates and or changes to an
> > individuals training dates or classes or whatever the specific data
> > is. *Then to be a bigger pain in the butt. *I want to be able to hit
> > "submit" on the userform and have the info on the spreadsheet updated
> > with the new info.

>
> > Can anybody help? *I taught myself all of the stuff I have done so
> > far
> > but, I am totally stuck.

>
> > If anybody is willing to help I would greatly appreciate it.- Hide quoted text -

>
> - Show quoted text -


Ok. forgive me if it's not given in technical phrases.

My userform is laid out by Serial #, last name, first name with text
boxes for each. As well as 6 text boxes that dates are loaded into.
when I hit submit it lists the exact text or dates i typed into the
spreadsheet.

I then list mandatory training by title with check boxes 44 total
check boxes. When I hit submit each one records 1 in the spreadhseet
for number of hours credit the student recieved for the training
class.

The final section of the Form is textboxes that I enter a class name
in one text box and # of hours for various other classes in the next
box. The hours and the class record when I hit submit.

All of these are laid out so I hit submit once everything is entered
and it records them in the appropriate colum with a submit button that
I figured out how to create the code for.

The spreadsheet itself is just columns across "A" through "CD"

Serial # Last Name First Name Drivers License Exp Taser Exp Pepper
Ball Exp Firearms Exp Milo Comp Module Comp CPR Exp

It continues I just wanted to give an example.


I want to be able to add a button labeled "Look Up". I want to be
able to search for an employee Serial # and have it pull the
information back from the spreadsheet and refill the form with the
correct data for each text box in the form.

If anybody wants to see what it is i've done so far directly let me
know and I can e-mail them directly what I've done so far. (unless
that goes against the user agreement on the group....i'm new and
haven't read them)




 
Reply With Quote
 
Per Jessen
Guest
Posts: n/a
 
      7th May 2009
Hi

You can mail me the workbook if you want, but I will first have time
to look at it tomorrow.

PerJessen69AThotmailDOTcom

Regards,
Per

On 7 Maj, 05:06, Morlin <troyr...@cox.net> wrote:
> On May 6, 7:48*pm, Per Jessen <perjesse...@hotmail.com> wrote:
>
>
>
>
>
> > Hi

>
> > We need more information on layout of your userform and worksheet, to
> > give any usefull guidance.

>
> > Regards,
> > Per

>
> > On 7 Maj, 04:43, Morlin <troyr...@cox.net> wrote:

>
> > > I am creating a user form to track training at work for multiple
> > > employees.

>
> > > I created a userform to enter the data and figured out how to enter
> > > that data into a spreadsheet by creating a submit button.
> > > Here's where I need help.....
> > > I want to be able to lookup by employee ID#, using a search button on
> > > the userform that will allow it to autofill all of the information
> > > back onto the userform so I can make updates and or changes to an
> > > individuals training dates or classes or whatever the specific data
> > > is. *Then to be a bigger pain in the butt. *I want to be able to hit
> > > "submit" on the userform and have the info on the spreadsheet updated
> > > with the new info.

>
> > > Can anybody help? *I taught myself all of the stuff I have done so
> > > far
> > > but, I am totally stuck.

>
> > > If anybody is willing to help I would greatly appreciate it.- Hide quoted text -

>
> > - Show quoted text -

>
> Ok. *forgive me if it's not given in technical phrases.
>
> My userform is laid out by Serial #, last name, first name with text
> boxes for each. *As well as 6 text boxes that dates are loaded into.
> when I hit submit it lists the exact text or dates i typed into the
> spreadsheet.
>
> I then list mandatory training by title with check boxes *44 total
> check boxes. *When I hit submit each one records 1 in the spreadhseet
> for number of hours credit the student recieved for the training
> class.
>
> The final section of the Form is textboxes that I enter a class name
> in one text box and *# of hours for various other classes in the next
> box. *The hours and the class record when I hit submit.
>
> All of these are laid out so I hit submit once everything is entered
> and it records them in the appropriate colum with a submit button that
> I figured out how to create the code for.
>
> The spreadsheet itself is just columns across *"A" through "CD"
>
> Serial # * * * *Last Name * * * First Name * * *Drivers License Exp * * Taser Exp * * * Pepper
> Ball Exp * * * *Firearms Exp * *Milo Comp * * * Module Comp * * CPR Exp
>
> It continues I just wanted to give an example.
>
> I want to be able to add a button labeled * *"Look Up". *I want to be
> able to search for an employee Serial # and have it pull the
> information back from the spreadsheet and refill the form with the
> correct data for each text box in the form.
>
> If anybody wants to see what it is i've done so far directly let me
> know and I can e-mail them directly what I've done so far. *(unless
> that goes against the user agreement on the group....i'm new and
> haven't read them)- Skjul tekst i anførselstegn -
>
> - Vis tekst i anførselstegn -


 
Reply With Quote
 
Matt Cooper
Guest
Posts: n/a
 
      20th Jul 2009
I'm looking to solve a similar problem I'm having; did you ever find a
solution?

Matt
 
Reply With Quote
 
Patrick Molloy
Guest
Posts: n/a
 
      20th Jul 2009
don't close the form, HIDE it

or save the form's data to a hidden sheet & repopulate when its shown again


"Matt Cooper" <Matt (E-Mail Removed)> wrote in message
news33D3935-6706-43CA-9ED8-(E-Mail Removed)...
> I'm looking to solve a similar problem I'm having; did you ever find a
> solution?
>
> Matt


 
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
excel form. Need data extracted to spreadsheet each time a form co MikeR-Oz Microsoft Excel Misc 4 5th Apr 2009 05:18 AM
Reload the form with no data Simon Microsoft Access 1 19th Oct 2008 03:46 PM
spreadsheet object imbeded in a custom form, data not coming with sent form. dh Microsoft Outlook VBA Programming 5 14th Apr 2004 09:32 PM
How to reload MDI Child Form into Parent Form. Tony Microsoft VB .NET 1 24th Nov 2003 11:34 PM
Form data passed to query Tom Jones Microsoft Access Forms 1 7th Sep 2003 06:22 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:16 AM.