There's no such thing as a stupid question, but they're the easiest to answer.
JoinTour
Login
 
Tag Cloud
access audio avg avg 8 bios blue screen boot bsod computer connection cpu crash css dell desktop dma driver drivers dvd email error excel explorer firefox firefox 3 freeze gimp graphics hard drive hardware hijackthis hjt install internet internet explorer itunes keyboard laptop macro malware monitor motherboard network networking outlook outlook 2003 outlook 2007 outlook express pio problem problems router seo server slow sound sp3 spyware trojan usb video virtumonde virus vista vundo windows windows vista windows xp winxp wireless
Software Development
Search
Search in:
 
Advanced Search
Tech Support Guy Forums > Software & Hardware > Software Development >
Summing in Excel


HELLO AND WELCOME! Before you can post your question, you'll have to register -- it's completely free! Click here to join today! We highly recommend that you print a copy of our Guide for New Members. Enjoy!

 
Thread Tools
wotrac's Avatar
Junior Member with 2 posts.
 
Join Date: Jun 2004
Experience: Intermediate
27-Jun-2004, 04:22 AM #1
Summing in Excel
Hi

I have a bespoke workbook that only contains 1 sheet.
When it the workbook multiple spreadsheets are inserted using data from an ADO recordset.

For each spreadsheet, I want to copy the data from another ADO recordset and drop it onto the sheet, then sum each of the columns created.
Finally I want to take each of those totals and drop them into a predefined cell on the original sheet.

Can anyone help with the best way to achieve this, as I am not sure where to start.
Kelly_in_LA's Avatar
Member with 47 posts.
 
Join Date: Jun 2004
Location: Los Angeles, California
Experience: Intermediate
30-Jun-2004, 07:24 PM #2
Hi Wotrac!

I am fairly experienced with Excel and VBA macros for Excel, but I have not worked with any "ADO recordsets" before.

I still feel that I may be able to help if you first explain to me a little more about the "ADO recordset."

Could you "zip" a recordset file and upload it so that I could work with it?

To those who know the answer, I will surely sound dumb, but what exactly is the ADO recordset? Is it a file? Is is saved as "file.ado" or what kind of file extension does it have?

Are you able to OPEN the recordset FROM WITHIN EXCEL?? If so, that would make the macro writing easier.

One last thing: are you using Windows? Windows XP? I ask, because my computer is running Windows XP, so whatever solution I might design could possibly end up being specific to my set-up, you know? especially if you have a Mac. (it is possible to have Excel on a Mac, isn't it?)

Anyway, if you could zip your recordset and upload it (as an attachment in this forum), that would be great.

Or, if it has confidential info, just make a similar one with "dummy data."
XL Guru's Avatar
Distinguished Member with 2,708 posts.
 
Join Date: Aug 2003
Location: nr. Cambridge, England.
Experience: there's no substitute for it, apparently
30-Jun-2004, 07:36 PM #3
Maybe Ron's info on ADO will help.

http://www.rondebruin.nl/tips.htm

Rgds,
Andy
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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 Off
Refbacks are Off

You Are Using:
Server ID
Advertisements do not imply our endorsement of that product or service.
All times are GMT -4. The time now is 08:10 AM.
Copyright © 1996 - 2008 TechGuy, Inc. All rights reserved.
Powered by vBulletin, Copyright © 2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0
Powered by Cermak Technologies, Inc.