LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default VB.net/Excel/MSSQL Solution - Help!

Folks,

Thanks for reading this post and helping out a newbie.

Here is my situation.

I have a MSSQL 2000 database that I would like to pass a query through
and display/manipulate the results in Excel on two seperate worksheets.
I have already tested the queries and they work fine and I have quite a
bit of programming experience in PG and MySQL in the past, so the MSSQL
is not my shaky part, it's the VB/Excel.

Here's my concept.

I want to create a simple user form that will prompt my users to enter
a job number and click on a button that will auto-create a
pre-calculated "Cost to Complete" worksheet and "Itemized Job Cost"
worksheet on entirely new Excel spreadtsheets. As stated, I have all
the necessary SQL statements laid out and know that they are accurate,
the only thing left to do is pass the JobNumber variable that is input
by the user in the aforementioned form through the query to give them
the Excel sheet.

Here's my problem.

As mentioned above, I'm a VB.net newbie and haven't done much
programming other than some command-line scripting and your run of the
mill CSS/HTML. The last time I used VB was 5 or 6 years ago and frankly
none of this stuff looks the same as when I took a class on it. Is my
concept possible? Feel free to offer up any other suggestions/ideas
that might make this a bit easier. The biggest thing is that once this
file is generated, it needs to have no saved macros/code in the as it
needs to be opened/manipulated once it's in place, so just making a VB
macro won't accomplish what I need, hence the reason I was looking at
the EXE/form route.

Thanks in advance,

Colin

 
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 2002, MS Query and MSSQL View with periods John T in MD Excel Discussion (Misc queries) 0 March 14th 07 02:06 PM
New to VBS and MSSql Robby Excel Programming 2 December 17th 04 06:55 PM
Resource of excel to connection mssql to get data Joe Excel Programming 4 July 31st 04 07:59 PM
SQLRequest to MSSQL server - macro chuckiej Excel Programming 2 May 13th 04 04:28 PM
SQL.REQUEST query omitting rows in MSSQL DB Steve Remer Excel Programming 2 February 17th 04 05:25 PM


All times are GMT +1. The time now is 05:27 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"