hide cloumns

  1. R

    Macro to hide columns and provde an active cell in column Bs next blank cell upon opening the workbook

    Hi,I'm having some problem figuring out why the following code is not working. When I open my file, I want a macro to automatically hide columns G -Z if they were unhidden when the file was last saved. And I want the active cell to be the next open cell (or blank cell) in Column B (starting...
  2. F

    Define Columns to print VBA

    Hi, I have the below Macro to route through my Spreadsheet and only print the sheets with data in a certain cell: Sub CHECKSHEET() Dim Sh As Worksheet Dim Arr() As String Dim N As Integer N = 0 For Each Sh In ActiveWorkbook.Worksheets If Sh.Visible = xlSheetVisible...
  3. S

    Hide column based on string

    I’m new to both VBA and this forum, so forgive me if I’ve committed any blunders. On a daily basis I receive a spreadsheet with the strings “Yes” and “No” in the cells of Column X. I would like to hide Column X if it contains any value other than Yes. What I’ve got below will run in my test...
  4. T

    Hide Columns Based on Agreement with Raw Data Table

    I am pulling raw survey data in to Sheet1 and want to write a code make a dynamic table in Sheet 2 so that it only includes the columns that are relevant to the respondent and hides all of the other columns. In the survey the respondents identified the industry that they operate in. This...
  5. S

    Macro hiding the wrong columns!

    I'm trying to record a macro to return my sheet to the print display. I recorded it and then edited in visual basic. Here's the code: Sub Hide() ' ' Hide Macro ' ' Rows("1:60").Select Selection.EntireRow.Hidden = False Columns("A:AZ").Select Selection.EntireColumn.Hidden =...
  6. D

    Vba - find next empty column, insert column, copy paste values & copy paste formulas

    I am creating a report that will be updated monthly then create charts with the newly pulled data. I need to create code that will: find last column that contains data copy & paste values of that column (within that same column) find the next available blank column and insert a new column copy...
  7. B

    VBA- Hide cells if X

    Hey guys, I need a create a horizontal filter, however this does not seem possible with excel 2010. Instead I have a formula in Cells C27:AF27 that returns "Y" if I want to keep the column and "X" if I want to hide the column. How can I hide theses columns with VBA if C27:AF27 are "X" Any help...

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top