Closed Thread
Results 1 to 5 of 5

Turn the Code for each cell in the selected Columns

  1. #1
    Registered User
    Join Date
    03-07-2022
    Location
    London
    MS-Off Ver
    2021
    Posts
    3

    Red face Turn the Code for each cell in the selected Columns

    Hi,

    Could you please help me, I have a counter that counts each time that the cell A2=D2 but i would like to recreate this for the whole columns. The following code is this:

    Please Login or Register  to view this content.
    Thanks for the help!!

  2. #2
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,607

    Re: Turn the Code for each cell in the selected Columns

    Please Login or Register  to view this content.
    Ben Van Johnson

  3. #3
    Forum Guru
    Join Date
    03-02-2006
    Location
    Los Angeles, Ca
    MS-Off Ver
    WinXP/MSO2007;Win10/MSO2016
    Posts
    12,607

    Re: Turn the Code for each cell in the selected Columns

    duplicate post

  4. #4
    Registered User
    Join Date
    03-07-2022
    Location
    London
    MS-Off Ver
    2021
    Posts
    3

    Re: Turn the Code for each cell in the selected Columns

    Hi, this code works however I wanted it to have a counter in each cell. For example if C2=D2 two Times K2=2 and if C3=D3 One time then K3=1.

    Is it possible, thanks for the Help!!

  5. #5
    Forum Moderator - RIP Richard Buttrey's Avatar
    Join Date
    01-14-2008
    Location
    Stockton Heath, Cheshire, UK
    MS-Off Ver
    Office 365, Excel for Windows 2010 & Excel for Mac
    Posts
    29,464

    Re: Turn the Code for each cell in the selected Columns

    Quote Originally Posted by danielpt78 View Post
    Hi, this code works however I wanted it to have a counter in each cell. For example if C2=D2 two Times K2=2 and if C3=D3 One time then K3=1.

    Is it possible, thanks for the Help!!
    Is it possible, thanks for the Help!![/QUOTE]

    Ben has pointed out that this is a duplicate thread. You are allowed only ONE thread per issue here.

    Please see Forum Rule #5 about thread duplication.

    I am closing this thread, but you may continue here in the original thread: https://www.excelforum.com/excel-pro...ml#post5646146
    Richard Buttrey

    RIP - d. 06/10/2022

    If any of the responses have helped then please consider rating them by clicking the small star icon below the post.

Closed Thread

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. How to leave selected columns unprotected after running a code.
    By RAJESH SHAH in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 12-21-2021, 12:44 AM
  2. [SOLVED] Code to move selected cells to the right 2 columns
    By coach.32 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-17-2020, 06:19 PM
  3. [SOLVED] Alteration to current Code to only clear selected Columns
    By hammer2 in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 02-07-2016, 02:16 AM
  4. [SOLVED] Look at adjacent cell 3 columns over and turn blue if value is less
    By adgjqetuo in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 09-04-2014, 02:25 AM
  5. VBA Code for Exporting Selected Columns in Excel to Notepad
    By xace in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 02-09-2014, 03:01 AM
  6. [SOLVED] Macros to transpose from multiple columns to selected columns and maintaining cell format
    By rrajnish in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 10-09-2013, 01:45 PM
  7. VB Code to Turn In-cell Editing Off
    By Gos-C in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 07-28-2008, 07:02 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