Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8634907
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T09:50:19+00:00 2026-06-12T09:50:19+00:00

I use PHPExcel to export data from mysql and $workbook->getProperties()->setCustomProperty() to store table name.

  • 0

I use PHPExcel to export data from mysql and $workbook->getProperties()->setCustomProperty() to store table name.

But i’d also like to store an *primary_key* field for importing without having visible column for it.
And it should stick to the row so editors can delete rows.

PHPExcel is lacking of documentation so i didn’t find anything at the moment.

Is it even possible? Haven’t digged into OfficeOpenXML docs yet – looking for existing solution.

Cheers!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-12T09:50:21+00:00Added an answer on June 12, 2026 at 9:50 am

    Why not store the primary key in column A of your worksheet, and then set column A to “hidden”?

    You can find out how to do this by reading section 4.6.29. in the (non-existent) Developer Documentation, entitled “Show/hide a column”

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to import data from excel,And the I decided to use PHPExcel,But when
I am attempting to export mysql data into excel. I have tried the phpexcel
I am using PHPExcel to create an Excel document, using data from a MySQL
I'm trying to style an excel table with phpexcel. I do this: $sheet->getStyle('A1:B2')->applyFromArray($style); But
I want to read data from GtkListStore and build an excel by phpExcel. First,
I've downloaded PHPExcel 1.7.5 Production . I would like to use setReadDataOnly() and enableMemoryOptimization()
Use Html element SELECT in aspx page like: <SELECT id=MySelection name=MySelection runat=server DataValueField=ID DataTextField=Name></SELECT>
I am designing a few scripts to write Excel files from MySQL stored data.
I am using PHPExcel to read data from Excel. It is not giving me
use Text::Table; my $tb = Text::Table->new(Planet,Radius\nkm,Density\ng/cm^3); $tb->load( [ Mercury,2360,3.7], [ Mercury,2360,3.7], [ Mercury,2360,3.7], );

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.