Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 05-25-2021, 11:45 AM
michissimo michissimo is offline VBA - Hide Column Windows 10 VBA - Hide Column Office 2019
Novice
VBA - Hide Column
 
Join Date: Oct 2017
Posts: 10
michissimo is on a distinguished road
Default VBA - Hide Column

Hey,


I'm trying to create a really easy VBA script for hiding the column from E to H.
When I run the code all the Column from A to I are hidden. I don't understand why! Can someone help me?



Thanks in forward





Code:
Sub Macro3()

    Columns("E:H").Select
    Selection.EntireColumn.Hidden = True
    Range("F3").Select
    
    
End Sub
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Invioce: Hide cost in column F melvin1942 Excel 2 04-20-2018 07:01 AM
Hiding column does not hide chart series HFLO Excel 2 10-09-2017 12:33 AM
How to Hide/Un-hide a worksheet based on cell on another sheet. easton11 Excel Programming 1 06-02-2015 12:07 PM
How can I temporarily break a 3 column format in order to type a single column paragraph William P Word 1 01-04-2015 06:40 PM
Hide Row and Column Headers mhlipp Excel 1 11-14-2011 05:10 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 11:29 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft