HI, i have the following macro to autohide some rows with no data, however its remove rows starting from column A.
How do i fix this to only hide the rows in the range (H4:V50)?Please Login or Register to view this content.
Thanks!!!
HI, i have the following macro to autohide some rows with no data, however its remove rows starting from column A.
How do i fix this to only hide the rows in the range (H4:V50)?Please Login or Register to view this content.
Thanks!!!
Change the <1 to =""
Alan עַם יִשְׂרָאֵל חַי
Change an Ugly Report with Power Query
Database Normalization
Complete Guide to Power Query
Man's Mind Stretched to New Dimensions Never Returns to Its Original Form
Hi Alan, its not hiding anything now....
Attach a sample workbook. Make sure there is just enough data to demonstrate your need. Include a BEFORE sheet and an AFTER sheet in the workbook if needed to show the process you're trying to complete or automate. Make sure your desired results are shown, mock them up manually if necessary.
Remember to desensitize the data.
Click on GO ADVANCED and use the paperclip icon to open the upload window.
View Pic
Hi, i think i've got it... the rows are now auto hiding nicely, but how do i set the above macro to run when i open the workbook? Currently i am assigning the macro to a shape and manually clicking the shape to run it. I would like it to run ever time i open the Excel workbook so the rows automatically hide/unhide every morning when i launch the spreadsheet.
thanks!
Copy the code and place it in the ThisWorksheet as a Worksheet Open event. Make sure to remove the Sub Hide_Rows title after pasting into the new event as Excel. Delete the module that holds this macro after testing the Worksheet_Open Event.
A tutorial in case this is not clear.
http://www.ozgrid.com/VBA/auto-run-macros.htm
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks