Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default gathering info & importing to another worksheet

i am trying to track my servers sales per hour and am needing to organize my
data from the week by their server numbers, sum each servers sales for the
week, and pull all of this data from a separate workBOOK. i can do the rest
of the formulas and set up myself, but the prior poses a problem for me...
can anyone help?

thanks!
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 100
Default gathering info & importing to another worksheet


Dim oExcel As Excel.Application
Dim oWorkbook As Workbook
Dim oWorksheet As Worksheet

Set oExcel = New Excel.Application
Set oWorkbook = oExcel.Workbooks.Open(FileName:="C:\WorkbookName.x ls",
_
UpdateLinks:=0, _
IgnoreReadOnlyRecommended:=True)
Set oWorksheet = oWorkbook.Sheets("SheetName")

' update oWorksheet

oWorkbook.Close (SaveChanges:=True)
oExcel.Quit

Phil Hibbs.
--
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
Gathering Info on one sheet albertmb Excel Discussion (Misc queries) 1 December 6th 09 09:27 AM
Gathering data from worksheet whatzzup Excel Discussion (Misc queries) 3 October 31st 07 07:09 PM
importing info from an email aquagas Excel Discussion (Misc queries) 3 April 19th 06 12:03 PM
Gathering info from saved files rxwillow[_2_] Excel Programming 1 January 19th 04 01:41 AM
Gathering info from a set of excel files Remy[_2_] Excel Programming 0 October 31st 03 02:54 AM


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