Title: Shortcode for second sheet
Last modified: August 31, 2016

---

# Shortcode for second sheet

 *  Resolved [Gregor Samsa](https://wordpress.org/support/users/randirandomo/)
 * (@randirandomo)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/shortcode-for-second-sheet/)
 * Hello,
 * I have two sheets in my google spreadsheet and I would like to pull the second
   sheet. What is the shortcode?
 * Thx in advance!
 * [https://wordpress.org/plugins/inline-google-spreadsheet-viewer/](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/shortcode-for-second-sheet/#post-6974824)
 * Try looking through [the plugin description](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/).
   I’ll give you a hint, it’s somewhere under the heading marked “Google Spreadsheets.”
 *  Thread Starter [Gregor Samsa](https://wordpress.org/support/users/randirandomo/)
 * (@randirandomo)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/shortcode-for-second-sheet/#post-6974928)
 * Thx for your reply!
 * However, I tried the `gid`tag and still do not get the second sheet displayed.
 * This is my sheet:
 * `href="https://docs.google.com/spreadsheets/d/1zh6jCFmUZzMfTDn8vMIykMpdP2j9zKNSdr4RbEuc9KM/
   edit#gid=2054057058"`
 * This is the shortcode I am using:
 * `[gdoc key="https://docs.google.com/spreadsheets/d/1zh6jCFmUZzMfTDn8vMIykMpdP2j9zKNSdr4RbEuc9KM/
   edit" gid="0"]`
 * Still I get the wrong sheet.
 * I really need to get the sheet by gid.
 * Thx for your advice!
 *  Plugin Author [Meitar](https://wordpress.org/support/users/meitar/)
 * (@meitar)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/shortcode-for-second-sheet/#post-6974974)
 * Just use the full URL of whatever sheet you have. Have you tried
 * `[gdoc key="https://docs.google.com/spreadsheets/d/1zh6jCFmUZzMfTDn8vMIykMpdP2j9zKNSdr4RbEuc9KM/
   edit#gid=315385068]`

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Shortcode for second sheet’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/inline-google-spreadsheet-viewer.
   svg)
 * [Inline Google Spreadsheet Viewer](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/inline-google-spreadsheet-viewer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/)
 * [Active Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/inline-google-spreadsheet-viewer/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Meitar](https://wordpress.org/support/users/meitar/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/shortcode-for-second-sheet/#post-6974974)
 * Status: resolved