Results 1 to 4 of 4

Thread: [RESOLVED] [VBA Excel] .ClearNotes method

  1. #1

    Thread Starter
    Member
    Join Date
    Dec 2011
    Location
    Brisbane, Australia
    Posts
    43

    Resolved [RESOLVED] [VBA Excel] .ClearNotes method

    Hi all,

    I have been looking into various methods for deleting cells or contents of cells and am a little confused by the ClearNotes method. Originally I thought it may have been legacy code and superseded by ClearComments. I did a few tests and discovered that it does indeed delete comments in a cell, but cannot see any difference between the two.

    However, on the MS website, it describes this method as:

    Clears notes and sound notes from all the cells in the specified range.
    This doesn't sound like legacy code to me.

    So my question is, apart from comments, what else does this include? What are "sound notes"?

  2. #2
    PowerPoster
    Join Date
    Oct 2008
    Location
    Midwest Region, United States
    Posts
    3,574

    Re: [VBA Excel] .ClearNotes method

    SoundNote Property [Excel 2003 VBA Language Reference]
    Office 2003

    This property should not be used. Sound notes have been removed from Microsoft Excel.

    http://msdn.microsoft.com/en-us/libr...ice.11%29.aspx

  3. #3

    Thread Starter
    Member
    Join Date
    Dec 2011
    Location
    Brisbane, Australia
    Posts
    43

    Re: [VBA Excel] .ClearNotes method

    Ok, thats kinda helpful. But I know that .ClearNotes deletes more than just these 'sound notes' (whatever they were) because I've tested it and I know it deletes comments too. Does it delete anything else? Or is comments the only other thing it deletes, and is therefore completely superseded by .ClearComments? (This is the impression I get from your reply, but would like clarification).

  4. #4

    Thread Starter
    Member
    Join Date
    Dec 2011
    Location
    Brisbane, Australia
    Posts
    43

    Re: [VBA Excel] .ClearNotes method

    Did some more research.

    Apparently, Cell Comments were called Cell Notes in Excel 2000 and earlier. So .ClearNotes does nothing more than .ClearComments.

Tags for this Thread

Posting Permissions

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



Click Here to Expand Forum to Full Width