web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Hiding Columns in Excel
Power Automate
Unanswered

Hiding Columns in Excel

(0) ShareShare
ReportReport
Posted on by

I am trying to hide excel columns in one of my files. There is no explicit function to do so, so instead I have 're-sized column' to 0.0001. However, it only accepts integer values (so the smallest is 1), meaning this method will not work.

 

One other (failed) method was to select the entire column and use keystrokes, but to the best of my knowledge there is no way to select and entire column.

 

Does anyone know how to hide columns?

I have the same question (0)
  • ThomasFonn Profile Picture
    273 on at

    This may not be very helpful, but I got 3 ideas:


    1. A combination with select column and send-key-actions in Power Automate could work.
    2. Run a macro with your selected range

    Range(Target).EntireColumn.Hidden = TRUE

    3. Run VB-script from Power Automate with similar code as in the Macro (however, I'm not proficient in VB-script, so I can't help you at all with that)

     

  • Kaif_Siddique Profile Picture
    2,108 Super User 2024 Season 1 on at

    Hi @Anonymous ,

     

    Try to record excel action to hide the specific column.

     

    Here is a sample flow:

    1. Launch Excel
    2. Left click on column B (i.e. select entire B column)
    3. Right click
    4. Select Hide

    Kaif_Siddique_2-1675797708637.png

     

    The recorded steps are similar below action:

    Kaif_Siddique_1-1675797348223.png

     

    Hope this will help you.

     

    If I have answered your question, please mark my post as Solved.
    If you like my response, please give it a Thumbs Up.

     

    Regards

    Kaif

  • MichaelAnnis Profile Picture
    5,727 Moderator on at

    I don't recommend selecting rows via UI unless this has improved.  The last time (about a year ago), I tried to select columns using UI clicks, it took forever.

     

    Instead:

     

    Select cell

    Send keys {Control}({Space}) 'this will select the column

    Send keys {Control}(0) 'this will hide the column

     

    Good luck!

  • lgehk Profile Picture
    2 on at

    Send keys {LControlKey}({D0}) 'this will hide the column

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard