#1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Forms help

Could use a link to sample code, and general advice, on the following.

I have a macro that imports a CSV file and then queries a SQL Server
database using criteria from the rows in the CSV file. Specifically, it uses
information from two columns and populates the row with three columns from
SQL Server if it finds a match. Right now, if there is no match then a human
has to query the database through the application's front end and key the
information into the spreadsheet by hand.

What I would like to do is have the macro do the initial matching and then
have an operator step through the missing information. I envision a form
with a couple hundred rows of data in a combobox that they'd scroll through
until they found a match. A button would insert the information into the
three columns. The form could either remain up all the time or pop us as
needed. The data in the form can remain static.

Thanks in advance for any assistance.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default Forms help

Forgot to mention, this is Office 2003.

"Mike" wrote in message
...
Could use a link to sample code, and general advice, on the following.



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

The initial matching works. I am getting stuck because I do not have much
experience programming forms and could use a pointer toward good tutorials
for Office 2003. Specifically, I need to know the best stock control to
display multiple columns of data and how to populate and display it
efficiently. Thanks.

"dan dungan" wrote in message
...
On Sep 25, 1:01 pm, "Mike" wrote:

I have a macro that imports a CSV file and then queries a SQL Server
database using criteria from the rows in the CSV file...



What I would like to do is have the macro do the initial matching


This is already working, right?


have an operator step through the missing information. I envision a form
with a couple hundred rows of data in a combobox that they'd scroll
through
until they found a match. A button would insert the information into the
three columns. The form could either remain up all the time or pop us as
needed. The data in the form can remain static.

Have you already designed the form?

It sounds like you have a good plan. Where do you get stuck?


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 411
Default Forms help

Hi Mike,

A combobox can display multiple columns.

A textbox can hold the data entry.

I'd look here for form design tutorial
http://www.contextures.com/tiptech.html


I search these websites when I need ideas:
http://www.cpearson.com/excel/MainPage.aspx
http://spreadsheetpage.com/

Dan
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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel forms - authorise / deny forms Ian Manning Excel Programming 1 May 8th 06 05:03 PM
RefEdits and normal forms / forms in a DLL David Welch Excel Programming 0 December 1st 04 03:49 PM
Forms that open from forms Azza Excel Programming 1 October 12th 04 10:54 PM
Forms No Name Excel Programming 2 July 9th 04 06:28 PM
Calling Forms from Forms - Exit problems Stuart[_5_] Excel Programming 3 May 25th 04 06:50 AM


All times are GMT +1. The time now is 10:33 PM.

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

About Us

"It's about Microsoft Excel"