+ Reply to Thread
Results 1 to 5 of 5

what are specialcells?

  1. #1
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    what are specialcells?

    What is this code doing?

    Please Login or Register  to view this content.

  2. #2
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,979

    Re: what are specialcells?

    The joys of lazy coding.

    2 restricts the SpecialCells to constants and the 1 specifies numbers.
    Everyone who confuses correlation and causation ends up dead.

  3. #3
    Forum Contributor
    Join Date
    08-14-2013
    Location
    LA Baby!!
    MS-Off Ver
    Excel 2007
    Posts
    1,598

    Re: what are specialcells?

    Ah got it. So if it were formulas, it wouldn't read it?

  4. #4
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,979

    Re: what are specialcells?

    Nope. You need to use a different type parameter (xlcelltypeformulas)

  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: what are specialcells?

    Interesting question. It had never struck me before that there were numeric constants.

    Furthermore they seem with the odd exception to be in the same order as you see with the F5 Goto Special functionality

    i.e.
    1,1 returns comments
    2,1 constants
    3,1 formulae
    3,2 text formulae
    3,3 seemingly both text and numeric formulae
    3.4 logical
    4,1 blanks
    7,1 non blanks
    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.

+ 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] What does SpecialCells(2) mean?
    By AB33 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 10-01-2012, 11:40 AM
  2. [SOLVED] SpecialCells
    By mike in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 06-07-2006, 08:55 PM
  3. SpecialCells
    By Peter in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 04-12-2006, 09:10 AM
  4. Specialcells
    By Bruno Uato in forum Excel General
    Replies: 0
    Last Post: 10-08-2005, 08:05 AM
  5. Specialcells
    By Bruno Uato in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 10-07-2005, 03: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