|
-
Nov 12th, 2007, 10:36 AM
#1
Thread Starter
Fanatic Member
[RESOLVED] Programatically Update Excel Files - A Question
I have a series of Excel files. Each Excel file contains a few different sheets worth of raw data, and 3 or 4 pivot tables based on that raw data.
Each month I run a SAS program that updates the raw data in each Worksheet. Each time my update finished I thought I'd have to go through and manually update each Pivot table by right clicking and selecting "Refresh Pivot Table" but it seems to be updating the tables on it's own.
Does that seem right or am I nuts?
-
Nov 12th, 2007, 10:39 AM
#2
Re: Programatically Update Excel Files - A Question
Do you have macros running when the spreadsheet opens? If so, they may be the onese doing the refresh for you.
-
Nov 12th, 2007, 10:46 AM
#3
Thread Starter
Fanatic Member
Re: Programatically Update Excel Files - A Question
I don't think I have any macros at all, no. Hmmm....
-
Nov 12th, 2007, 10:59 AM
#4
Thread Starter
Fanatic Member
Re: Programatically Update Excel Files - A Question
Nevermind - The "macro" in this case was a co-worker that went through and updated everything without my knowledge
-
Nov 12th, 2007, 01:44 PM
#5
Re: [RESOLVED] Programatically Update Excel Files - A Question
Not as reliable as a macro, but still works occasionally.
-
Nov 12th, 2007, 02:04 PM
#6
Re: [RESOLVED] Programatically Update Excel Files - A Question
You can look at the "Last Modified by" property of the xls and see who did the "update"
VB/Office Guru™ (AKA: Gangsta Yoda™ ®)
I dont answer coding questions via PM. Please post a thread in the appropriate forum. 
Microsoft MVP 2006-2011
Office Development FAQ (C#, VB.NET, VB 6, VBA)
Senior Jedi Software Engineer MCP (VB 6 & .NET), BSEE, CET
If a post has helped you then Please Rate it! 
• Reps & Rating Posts • VS.NET on Vista • Multiple .NET Framework Versions • Office Primary Interop Assemblies • VB/Office Guru™ Word SpellChecker™.NET • VB/Office Guru™ Word SpellChecker™ VB6 • VB.NET Attributes Ex. • Outlook Global Address List • API Viewer utility • .NET API Viewer Utility •
System: Intel i7 6850K, Geforce GTX1060, Samsung M.2 1 TB & SATA 500 GB, 32 GBs DDR4 3300 Quad Channel RAM, 2 Viewsonic 24" LCDs, Windows 10, Office 2016, VS 2019, VB6 SP6 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|