Results 1 to 5 of 5

For Each X in Range (Can I reference table directly instead of range)

Threaded View

  1. #1
    Registered User
    Join Date
    02-16-2018
    Location
    WI
    MS-Off Ver
    2016
    Posts
    56

    For Each X in Range (Can I reference table directly instead of range)

    Hello again,

    I am poking around with a project here and for the life of me can't remember how I can replace something like this:

    For Each CellValue In Range("C1:KN1000")
    ...to simply reference an entire table I have on a given worksheet instead of the fixed range.


    As it is this arbitrarily oversized range takes but a fraction of a second to do what I need it to do (and importantly, works), but its clearly a waste.
    I have tried a few different means of referencing the table here but I am definitely doing something wrong and have run the gamut of errors.


    The table is simply named Table1 and its on Sheet1(Mold List).
    Last edited by IMM Tech; 02-05-2021 at 07:55 AM.

Thread Information

Users Browsing this Thread

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

Similar Threads

  1. Replies: 2
    Last Post: 11-21-2020, 04:29 AM
  2. Replies: 1
    Last Post: 12-05-2019, 03:47 AM
  3. Replies: 0
    Last Post: 04-06-2017, 02:56 AM
  4. Copying Excel table range to an existing PPT slide, pasting as TABLE, not as PICTURE
    By gurnblanston27 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 09-22-2016, 04:44 PM
  5. Replies: 1
    Last Post: 11-25-2014, 08:35 PM
  6. Replies: 2
    Last Post: 08-27-2014, 03:13 PM
  7. Replies: 5
    Last Post: 08-30-2012, 06:50 AM

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