Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Pasting in Excel occasionally randomly fails
Message
From
23/10/2014 08:43:58
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
COM/DCOM and OLE Automation
Title:
Pasting in Excel occasionally randomly fails
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01609799
Message ID:
01609799
Views:
63
In all my grids throughout all my applications, the user can export any grid to Excel so that it looks, as much as possible, like the original grid. This is something that has been available for years and is used extensively.

Every once in a blue moon, a user will report that the spreadsheet was created properly, with all headings and cell decorations, but without any data.

The data is pasted in with copy that looks essentially like this:
DataToClip(Alias)
loExcel.ActiveSheet.Paste()
The user may repeat it a few times, failing each time, until, eventually, it works. It has happened to me twice. The most recent report was from somebody who exports from the same grid daily.

Does anybody have any idea about what might be going on and what I could do about it?

Thanks
Jim Nelson
Newbury Park, CA
Next
Reply
Map
View

Click here to load this message in the networking platform