+ Reply to Thread
Results 1 to 2 of 2

Hide and Unhide a Row with VBA

  1. #1
    Registered User
    Join Date
    08-05-2017
    Location
    Melbourne, Australia
    MS-Off Ver
    2010
    Posts
    33

    Hide and Unhide a Row with VBA

    I am new to VBA programming and have the following code that I can't get to work. What is wrong with the syntax.

    Please Login or Register  to view this content.
    Moderator Note:
    Your post does not comply with our Forum RULES. Use code tags around code.

    Posting code between
    Please Login or Register  to view this content.
    tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window.

    (I have added them for you today. Please take a few minutes to read all Forum Rules and comply in the future.)
    Last edited by alansidman; 01-30-2018 at 09:12 PM.

  2. #2
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2405 Win 11 Home 64 Bit
    Posts
    23,895

    Re: Hide and Unhide a Row with VBA

    You have not defined your target range value. You need to determine and tell excel the range that you defined for your target.

    ie.
    Please Login or Register  to view this content.
    This is only an example you will need to determine this in your w/s
    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

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Which below code, I can Hide & unhide, but I want only allow to HIDE
    By rajeshn_in in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 10-14-2016, 04:10 AM
  2. Hide Visibility hide and unhide menu using macro ?
    By jasond1992 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-30-2015, 09:05 PM
  3. [SOLVED] Hide And Unhide Column With One Button,,,,Once Click Hide,,,,,Again Click Unhide
    By HaroonSid in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 03-11-2014, 07:58 AM
  4. [SOLVED] Hide Unhide
    By Colin in forum Excel General
    Replies: 4
    Last Post: 04-09-2006, 12:10 PM
  5. [SOLVED] Hide/unhide
    By Jock W in forum Excel Formulas & Functions
    Replies: 4
    Last Post: 10-04-2005, 12:05 PM
  6. [SOLVED] Hide and unhide
    By Marcel in forum Excel General
    Replies: 1
    Last Post: 03-10-2005, 08:06 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1