+ Reply to Thread
Results 1 to 2 of 2

Excel automation with DataLink

  1. #1
    Registered User
    Join Date
    10-10-2014
    Location
    seattle wa
    MS-Off Ver
    2007
    Posts
    63

    Excel automation with DataLink

    someone please help me.

    In excel 2013, I have pulling PI data using PIDataLink. 1st day of every month i update the current month date. I have over 25 array's and I have to resize all of them by right click and select recalculate (resize) function. It takes about 1 to update the whole file. I was wondering if I can set that to automate and have it done on 1st of the month. Anyone who i can set that up.

    Thank you

  2. #2
    Forum Expert dflak's Avatar
    Join Date
    11-24-2015
    Location
    North Carolina
    MS-Off Ver
    365
    Posts
    7,957

    Re: Excel automation with DataLink

    Could you provide a sample workbook (with non-sensitive data). Also I need more explanation about what your 25 arrays are and exactly what you are doing to resize them. I am not familiar with this process. What happens when you record a macro to resize an array.

    How is the data downloaded? Does the Excel file refresh the data, or do you get an Excel file with the data in it? Mostly this is to determine if I can embed the code in the spreadsheet that pulls the data, or if a need a spreadsheet to open the new spreadsheet that is provided every month.

    I have a method for scheduling a task and running it using the windows task scheduler, but I have to know what it is the target macro is to do.
    One spreadsheet to rule them all. One spreadsheet to find them. One spreadsheet to bring them all and at corporate, bind them.

    A picture is worth a thousand words, but a sample spreadsheet is more likely to be worked on.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Excel Automation
    By SiriusProjects in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-10-2014, 02:59 PM
  2. How to resize PI datalink array??
    By scooter2012 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-15-2013, 07:13 PM
  3. Osisoft PI Datalink - Excel help required
    By WHITLSTE in forum Excel General
    Replies: 0
    Last Post: 08-07-2013, 03:59 AM
  4. Excel 2003 Add In problem (PI Datalink)
    By bantam2010flush in forum Excel General
    Replies: 1
    Last Post: 04-29-2010, 11:53 AM
  5. Excel automation
    By arnab0711 in forum Excel Formulas & Functions
    Replies: 1
    Last Post: 09-29-2009, 11:13 AM
  6. Excel automation
    By BlueFortyTwo in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 06-15-2007, 03:14 PM
  7. Excel automation
    By Martin Walke in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 03-28-2006, 10:00 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

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1