Results 1 to 3 of 3

Thread: I want to link a large amount of spreadsheets in Excel

  1. #1
    Join Date
    Feb 2012
    Posts
    14

    I want to link a large amount of spreadsheets in Excel

    Ok, so I want to start this out saying that I'm not asking for someone to code this all for me...I know that would be dumb. I just need help being pointed in the right direction. I do have a limited knowledge of VB. Ok so what I want to do is. I have a file (a) that is created nightly...saved under a new name based on the date.I want to create a program/file that, when run, will open a second static file (b) then run a macro to update specific cells within (b) with specific data from (a).
    • the data in (a) is always saved to the same cells in each new sheet
    • the data in (b) needs to move over each night. (if I need to make several programs to do this that's fine, but I was thinking that there has to be a way to update that with some sort of array)
    • once the data is updated, I want to run a macro I have already created to print several copies of some sheets in the wb.
    • and finally I would like to save, and email the new file to a specific person's email.

    Can someone please point me to some tutorials that will detail how to do each of the things I need. Like I said, I'm gladly willing to look up the stuff and do the work. I just keep getting sent to random threads here when I google stuff so I figured this would be easier.

  2. #2
    Join Date
    Aug 2011
    Posts
    564

    Re: I want to link a large amount of spreadsheets in Excel

    So far I have this. You can try the below code.
    Code:
    Sub test()
    '
    ' test Macro
    '
    Dim fileName As String
    Dim fileName1 As String
    ' prompt the user to get the name of the file(s) to open
    
    fileName = Application _
    .GetOpenFilename()
    
    fileName1 = Application _
    .GetOpenFilename()
    
    ' opens both files
    Excel.Application.Workbooks.Open (fileName)
    Excel.Application.Workbooks.Open (fileName1)
    
    ' format the cells
    ' to make sure they copy correctly
    Range("B1:B26").NumberFormat = "Genral"
    
    ' for loop to get data
    
    For i = 6 To 23
    Select Case i
    Case Is = 6 ' assign: net sales
    %2

  3. #3
    Join Date
    Aug 2011
    Posts
    540

    Re: I want to link a large amount of spreadsheets in Excel

    There are lots of stuff you had asked inside a single question. It is important to explain the same in more detail to get the exact answer. I think you might need some kind of full fledged guide for this process.

Similar Threads

  1. How get rid large amount garbage cell in Microsoft Excel
    By Iyyappan in forum MS Office Support
    Replies: 2
    Last Post: 21-02-2012, 02:19 PM
  2. Large amount of UDP packets on Network
    By X-MaaN in forum Networking & Security
    Replies: 6
    Last Post: 03-08-2011, 11:13 PM
  3. Replies: 3
    Last Post: 28-09-2010, 10:29 PM
  4. How do you link spreadsheets together in excel
    By SADIQ in forum Software Development
    Replies: 3
    Last Post: 31-07-2009, 08:09 AM
  5. Is SVCHOST.exe using large amount of RAM?
    By Padmal in forum Windows Vista Performance
    Replies: 1
    Last Post: 18-05-2008, 02:28 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,714,105,538.77798 seconds with 16 queries