15,912,897 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View Python questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by chadchen (Top 4 by date)
chadchen
15-Oct-14 17:06pm
View
Hi Maciej:
Yes, we do have that problem.
That's why I want to write this addin to save the result into xlsx format.
In this way it can keep 1M records.
If I output all cells value into array then merge array after that write to excel sheet. It can pass 65536 rows with no issue.
The problem is only happen with pastspecial.
The excel report contains date and time column when export to Array all the value stored in Double. I want the formatting which pastespecial works perfectly just can't pass 65536 rows.
Strange problem.
chadchen
15-Oct-14 16:33pm
View
But the array will not keep the numeric formatting for date and time. Is there a way to expand the PasteSpecial over 65536 rows?
Thank you very much for the help
chadchen
15-Oct-14 16:31pm
View
Hi Maciej: Thanks for the update. I have tried the suggestion from instruction.
In code, I use: startPasteCell.Select(); or pasteArea.PasteSpecial.
But the result is the same.
What I noticed is: The pasteSpecial method is working ok.
Just it can not pass the 65536 limits.(whenever I try to paste the second sheet, it indicates area doesn't fit. ) the behavior is very similar to when we open xls file and try to paste to 65537 row. Since I only open a new workbook I think it should be ok. If I use array then I can pass 65537 row with no issues.
chadchen
15-Oct-14 16:16pm
View
Hi Maciej:
Sorry which instruction?
Can you give a link ?
Thank you