• Microsoft Office
  • Microsoft Windows
  • Other Software
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • 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
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • 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
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • 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
    • Microsoft Visual
    • Microsoft Project
    • Microsoft Visio
  • 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!

Rate this post
28
273 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

You must be logged in to post a comment.

Buy Windows 11 Professional MS Products CD Key
Buy Office 2021 Professional Plus Key Global For 5 PC
Top rated products
  • Kaspersky Internet Security 2021 1 year 5 devices key Global Kaspersky Internet Security 2021 1 year 5 devices key Global
    Rated 5.00 out of 5
    $45.00
  • Windows Server 2022 Datacenter Key Global Windows Server 2022 Datacenter Key Global
    Rated 5.00 out of 5
    $7.00
  • Kaspersky Small Office Security 10 PCs + 10 Mobiles + 1 Server 1 Year Kaspersky Small Office Security 10 PCs + 10 Mobiles + 1 Server 1 Year
    Rated 5.00 out of 5
    $164.50
  • Avast Ultimate Suite 2021 1 Year 10 Devices Global Avast Ultimate Suite 2021 1 Year 10 Devices Global
    Rated 5.00 out of 5
    $54.00
  • Windows 11 Pro Key Global Windows 11 Pro Key Global
    Rated 5.00 out of 5
    $6.00
Products
  • Windows Server 2012 Remote Desktop Services 50 USER Connections Key Global Windows Server 2012 Remote Desktop Services 50 USER Connections Key Global
    Rated 4.69 out of 5
    $25.00
  • Windows 11 Pro Product Activation Key Windows 11 Pro Product Activation Key
    Rated 5.00 out of 5
    $6.00
  • Buy Windows 11 Pro CD Key License Buy Windows 11 Pro CD Key License
    Rated 5.00 out of 5
    $6.00
  • Avast Ultimate Suite 2021 3 Years 10 Devices Global Avast Ultimate Suite 2021 3 Years 10 Devices Global
    Rated 5.00 out of 5
    $90.00
  • Windows Server 2012 R2 Standard Key Global Windows Server 2012 R2 Standard Key Global
    Rated 4.78 out of 5
    $15.00
  • Visio Professional 2024 Visio Professional 2024 $33.00
  • Buy Windows 11 Home CD Key Global Buy Windows 11 Home CD Key Global
    Rated 4.73 out of 5
    $6.00
  • Microsoft Visio Standard 2021 Key 1PC Microsoft Visio Standard 2021 Key 1PC $13.00
  • Windows Server 2022 Remote Desktop Services User Connections (50) Cal Key Global Windows Server 2022 Remote Desktop Services User Connections (50) Cal Key Global
    Rated 5.00 out of 5
    $22.00
  • Microsoft Visio 2019 Professional Key Global Microsoft Visio 2019 Professional Key Global - 5 PC
    Rated 4.93 out of 5
    $19.00
Product categories
  • Anti Virus
  • Microsoft Office
  • Microsoft Project
  • Microsoft Visio
  • Microsoft Visual
  • Microsoft Windows
  • Other Software
  • Uncategorized

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.