+ Reply to Thread
Results 1 to 4 of 4

column selection is different from the one in the code

  1. #1
    Registered User
    Join Date
    10-09-2019
    Location
    China
    MS-Off Ver
    365
    Posts
    19

    Question column selection is different from the one in the code

    Hello together,

    I've several Hide/Show Buttons for e.g. top row and also for some columns in my sheet.
    All except one are working fine. The one doesn't work should select column H to J but the selection is H to K.
    It drives me crazy, hope someone has a hint for me........

    selectH-K.JPG

    And here the code accordingly

    Please Login or Register  to view this content.

  2. #2
    Forum Guru :) Sixthsense :)'s Avatar
    Join Date
    01-01-2012
    Location
    India>Tamilnadu>Chennai
    MS-Off Ver
    2003 To 2010
    Posts
    12,770

    Re: column selection is different from the one in the code

    May be because of Merged Cells exists in that range which falls upto K column.


    If your problem is solved, then please mark the thread as SOLVED>>Above your first post>>Thread Tools>>
    Mark your thread as Solved


    If the suggestion helps you, then Click *below to Add Reputation

  3. #3
    Registered User
    Join Date
    10-09-2019
    Location
    China
    MS-Off Ver
    365
    Posts
    19
    Quote Originally Posted by :) Sixthsense :) View Post
    May be because of Merged Cells exists in that range which falls upto K column.
    Hi, no merged cells in this range. I'm also able to select and hide the columns manually.

  4. #4
    Registered User
    Join Date
    10-09-2019
    Location
    China
    MS-Off Ver
    365
    Posts
    19

    Re: column selection is different from the one in the code

    There was merged cells in this range but it was hided Thank you for the hint

+ 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] Code to update Pivot selection based on other Pivot selection
    By whahnelt in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 10-22-2019, 03:51 AM
  2. [SOLVED] Code causing buffering issues with column selection
    By kosherboy in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 04-04-2016, 09:20 AM
  3. Replies: 10
    Last Post: 02-15-2016, 04:30 PM
  4. Create a code for offsetting range selection by 1 column
    By amartino44 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 10-04-2013, 12:56 PM
  5. Replies: 1
    Last Post: 07-03-2013, 10:50 AM
  6. List Box Selection / Highligh Selection Code
    By Dr.SUN in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 09-28-2010, 11:48 PM
  7. Change from Column Selection to Cell Selection
    By Lil Pun in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-16-2006, 06:15 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