Hide Column in Sheet

Hi,
I have a sheet in which I need to Hide a column named “Column1”.
Here I have attached the sheet.
Book1.xlsx (11.0 KB)
Please let me know how to solve this??

Hi @Kunal_Jain ,
You can try
Sub Unhide_All_Rows_Columns()
Columns.EntireColumn.Hidden = True
End Sub

regards,
LNV

It will hide Just one Column??
And Do I need to pass it in invoke code activity??

This problem have solution

you can try

Hi @Nguyen_Van_Luong1
Invoke Code: Exception has been thrown by the target of an invocation.
Getting this Error.
Thanks!!

Can you share image ?


Check this out

In here your column is visible, you need hide
→ hidden is true

Other way is
You can use send hot with “win+r”
type into file path
send hot key “enter”
file open
click to column1
send hot key “ctrl+0”
send hot key “ctrl+S”

Hi @Kunal_Jain

Please find below xaml for your reference

BlankProcess8.zip (54.6 KB)

O/P:
Book1 (3).xlsx (11.4 KB)

Regards,

1 Like

Hi @lrtetala
Thanks for the update.
It Helped.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.