• Microsoft Office
  • Microsoft Windows
  • Other Software
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us

No products in the cart.

  • Microsoft Office
  • Microsoft Windows
  • Other Software
  • Anti Virus
  • Blog
    • Word
    • Excel
    • Powerpoint
    • Software tricks/tips
  • POLICIES
    • PAYMENT GUIDE
    • SHIPPING POLICY
    • REFUND POLICY
    • TERMS & CONDITIONS
    • Contact Us
Excel

2 Ways to Hide Worksheets in Excel (Not Easily Found)

0 Comments

2 Ways to Hide Worksheets in Excel (Not Easily Found). You can hide any worksheet to remove it from view. However, if you want to keep certain worksheets hidden from others who access your file, there are two ways to do so. Let’s explore these methods together!

Hide worksheets through the Power Query property

To hide a worksheet, first right-click on the sheet you want to hide, then select View Code.

2 Ways to Hide Worksheets in Excel (Not Easily Found)

2 Ways to Hide Worksheets in Excel (Not Easily Found)

Next, in the Power Query interface, select the name of the sheet you want to hide and move to the Properties Window (F4) on the toolbar.

An Trang Tinh 2This will display a table of properties for the sheet you want to hide. Under Visible, select 2 – XlSheetVeryHidden.

An Trang Tinh 3That’s it! The worksheet is now hidden. To unhide the worksheet, right-click on any sheet, select Properties from the toolbar, and select -1 – xlSheetVisible.

An Trang Tinh 4Hide worksheets by writing macros in Excel

This method allows you to hide multiple sheets at once while keeping the selected sheet visible without anyone noticing, except for those who know this trick!

Here are the steps to follow:

Step 1: Right-click on the sheet you want to keep visible and select View Code.

An Trang Tinh 5Step 2: In the Power Query interface, select the name of the sheet you want to keep visible, right-click, and select Insert => Module.

An Trang Tinh 6Step 3: Type the following code to hide the sheets:

Sub HideSheets()

Dim ws As Worksheet

For Each ws In ThisWorkbook.Worksheets

If ws.Name <> ActiveSheet.Name Then ws.Visible = xlSheetVeryHidden

Next ws

End Sub

An Trang Tinh 7Step 4: On the toolbar, click Run to run the code and see the results!

An Trang Tinh 8An Trang Tinh 9If you want to unhide the hidden worksheets, go back to the Power Query interface and select the module where you inserted the code to hide the sheets. Type the following code to unhide the sheets:

Sub UnHideSheets()

Dim ws As Worksheet

For Each ws In ThisWorkbook.Worksheets ws.

Visible = xlSheetVisible

Next ws

End Sub

An Trang Tinh 10Finally, click Run to see the results!

That’s it! I hope this article was helpful to you. If you found it useful, please don’t forget to rate the article below. Thank you for choosing buffcom!

11
69 Views
3 Ways to Fill Down Values in ExcelPrev3 Ways to Fill Down Values in ExcelMarch 15, 2023
Keyboard Shortcuts and Tricks about the SUM Function You Should KnowMarch 15, 2023Keyboard Shortcuts and Tricks about the SUM Function You Should KnowNext

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Recent Posts
  • Retrieve Data Based on Data Validation
    September 7, 2023
    Excel
  • How to Convert Multiple Rows to Columns and Rows in Excel?
    September 6, 2023
    Excel
  • VLOOKUP for Automatic Discount in Data Validation
    September 6, 2023
    Excel
  • How to Convert Text Dates to Dates in Excel?
    September 5, 2023
    Excel
Categories
  • Blog 80
  • Excel 754
  • Powerpoint 36
  • Software tricks/tips 128
  • Uncategorized 8
  • Word 109
Tags
the ISERROR
Top rated products
  • Kaspersky Small Office Security 15 PCs + 15 Mobiles + 2 Servers 1 Year Kaspersky Small Office Security 15 PCs + 15 Mobiles + 2 Servers 1 Year
    Rated 5.00 out of 5
    $201.00
  • Buy Windows 11 Professional MS Products CD Key
    Rated 5.00 out of 5
    $11.00
  • AVG Internet Security 2021 1 Device 1 Year Global AVG Internet Security 2021 1 Device 1 Year Global
    Rated 5.00 out of 5
    $11.00
  • Buy Office 2021 Professional Plus Key Global For 5 PC
    Rated 5.00 out of 5
    $45.00
  • Avast SecureLine VPN 2021 2 Years 5 Devices Global Avast SecureLine VPN 2021 2 Years 5 Devices Global
    Rated 5.00 out of 5
    $47.00
Products
  • Buy Office 2021 Professional Plus Key Global For 5 PC
    Rated 5.00 out of 5
    $45.00
  • Buy Office 2021 Professional Plus Key Global Bind To Your Microsoft Account
    Rated 4.83 out of 5
    $49.00
  • Windows Server 2022 Datacenter Key Global
    Rated 5.00 out of 5
    $15.00
  • Windows Server 2022 Standard Key Global
    Rated 4.47 out of 5
    $15.00
  • Windows Server 2022 Remote Desktop Services Device Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $45.00

Buffcom.net always brings the best digital products and services to you. Specializing in Office Software and online marketing services

BIG SALE 50% IN MAY

Microsoft Office
Microsoft Windows
Anti-Virus
Contact Us

Visit Us:

125 Division St, New York, NY 10002, USA

Mail Us:

buffcom.net@gmail.com

TERMS & CONDITIONS | PAYMENT GUIDE  | SHIPPING POLICY  | REFUND POLICY

Copyright © 2019 buffcom.net  All Rights Reserved.