Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
Fio Fio is offline
external usenet poster
 
Posts: 1
Default VBA - on a button event, open another closed file, post changes, close file

Really new to VBA but coming along.

I hope that this hasn't been addressed already in this forum, I looke
but didn't find it ...

The issue I can't resolve is this: I have a shared workbook wit
multiple sheets, essentially counting instances of answers from list
(lots of 'em) across all sheets. These are being summed in my 'summary
sheet (countif). Upon a button event (available on each sheet), I a
posting from the summary to the summary2 sheet ... using th
following:

Sub GetAns()
Sheets("Summary2").Select
Range("D5").Select
Selection.Offset(0, 0)
Application.Sum(Sheets("Summary").Range("D5").Valu e
Sheets("Summary2").Range("D5").Value)
Selection.Offset(1, 0)
Application.Sum(Sheets("Summary").Range("D6").Valu e
Sheets("Summary2").Range("D6").Value)
.+
.+

Long story, but I have Summary (current tally) and Summary2 (tota
tally)

The thought is this - this book is to be shared by 50+ users who wil
update it periodically yet constantly. What I would like to accomplish
essentially, would be to to have 'summary2' as an external closed boo
that accepts the posting from each save from the open books 'summary
sheet ... using vba (ActiveWorkbook.Save) in my GetAns sub ...
basically 'on save, add this value to that value in that book' ...
'that' book will be a running tally of all users answers ...

Sorry, I hope this makes sense ... Can anyone help

--
Message posted from http://www.ExcelForum.com

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
reference a closed filed from a cell and formula in an open file dh13134 Excel Worksheet Functions 15 August 6th 08 08:08 PM
Move entire row of data from open to closed file by entering date TB[_2_] Excel Discussion (Misc queries) 0 May 12th 08 10:07 PM
Macro to Open, then Close another File HROBERTSON Excel Discussion (Misc queries) 1 January 8th 07 06:41 PM
VBAProject remains open after file is closed sequoia sam Excel Discussion (Misc queries) 4 August 2nd 05 07:59 PM
Automate open file, update links, run macro, close and save file Geoff[_7_] Excel Programming 2 August 26th 03 10:13 PM


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

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"