I may be in the wrong place, excuse me if I am. I am creating a wonderware application and I need to create some reports. The reports are already made in Excel. I am able to export the data from wonderware to a .CSV file but I need to move the data to the report every 15 minutes. I have tried to create a macro in VBA to do this but Excel will not export the data more than one time on a time basis. I also need the data to be entered in consecutive lines on the spreadsheet depending on what time it is. I am having trouble getting excel to do this. Should I just have a macro that runs when the spreadsheet is open and have wonderware open the spreadsheet at the given times for the transfer? This seems like a lot of opening and closing of excel and I am trying to limit the amount of extra programs opening and closing due to using up the computer memory for extra functions. My question is is there a way to write a macro that this can take place without having to be proficient in Visual Basic or another language.....any help would be appreciated.......
Red Flag Submitted
Thank you for helping keep Eng-Tips Forums free from inappropriate posts. The Eng-Tips staff will check this out and take appropriate action.
Reply To This Thread
Posting in the Eng-Tips forums is a member-only feature.
Learn methods and guidelines for using stereolithography (SLA) 3D printed molds in the injection molding process to lower costs and lead time. Discover how this hybrid manufacturing process enables on-demand mold fabrication to quickly produce small batches of thermoplastic parts. Download Now
Examine how the principles of DfAM upend many of the long-standing rules around manufacturability - allowing engineers and designers to place a partâ€™s function at the center of their design considerations. Download Now
Metal 3D printing has rapidly emerged as a key technology in modern design and manufacturing, so itâ€™s critical educational institutions include it in their curricula to avoid leaving students at a disadvantage as they enter the workforce. Download Now
This ebook covers tips for creating and managing workflows, security best practices and protection of intellectual property, Cloud vs. on-premise software solutions, CAD file management, compliance, and more. Download Now