+ Reply to Thread
Results 1 to 1 of 1

Checking Threaded Comments

  1. #1
    Registered User
    Join Date
    01-23-2019
    Location
    Montana
    MS-Off Ver
    Office 365 Version 1812 (Build 11126.20266)
    Posts
    1

    Checking Threaded Comments

    Hey all,

    My office just upgraded to a new version of Office 365, and with it came a new way that comments are done. The old comments are now referred to as "notes" and the new comments are now called "comments".

    In one of my workbooks, I have a button that, when clicked, will look through certain cells to check whether there is a comment or not. It will then color the cell based on what it finds.

    (my full code for the button is posted below)
    Line 9 contains the issue

    In previous versions of Excel, this button worked just fine. However, now it only works if the cells have "notes" and does not work if they have "comments". In my code, the class that I had been using was called "Comment", so my code was something along the lines of "If Cells(row, col).Comment Is Nothing...". This class still works, but only looks for notes. I have looked through the Object Library and under the hidden objects, I found a new class called "CommentThreaded". I tried changing my code to that ("If Cells(row, col).CommentThreaded Is Nothing...") but it does not work. When I click the button, I now get a run-time error: applictaion-defined or object-defined error when it tries to access this new class.

    Does anyone know what I need to change to get my button to work with threaded comments?

    Thanks,
    Mike

    Please Login or Register  to view this content.

    I have asked this same question on Stack Overflow, but I can't post the link due to how new I am to these forums. I will reply here with a solution if I get an answer over there.
    Last edited by mike406; 01-23-2019 at 01:09 PM. Reason: Added Cross-Post Link

+ 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] Can we prevent Threaded View
    By Oppressed1 in forum Suggestions for Improvement
    Replies: 3
    Last Post: 07-08-2017, 10:53 AM
  2. [SOLVED] Threaded mode does not work
    By Tony Valko in forum The Water Cooler
    Replies: 20
    Last Post: 03-23-2016, 02:15 PM
  3. Setting Multi-Threaded Calculation To 3 Processors Using Add-In?
    By JaeDubbya in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 06-24-2014, 07:11 PM
  4. [SOLVED] 15 hours processor time to delete my mistake :(. Multi-threaded deleting in vba?
    By motivef in forum Excel Programming / VBA / Macros
    Replies: 22
    Last Post: 07-23-2012, 12:24 PM
  5. Threaded View in Outlook
    By omnri in forum Outlook Programming / VBA / Macros
    Replies: 1
    Last Post: 01-02-2012, 07:39 PM
  6. Excel is multi threaded program? thanks
    By maplemaple in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 01-15-2006, 06:25 PM
  7. [SOLVED] Threaded programming in VBA
    By Martin in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-22-2005, 05:05 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