+ Reply to Thread
Results 1 to 5 of 5

Making Excel Table Loop to Work in All Tables

  1. #1
    Registered User
    Join Date
    03-11-2008
    Posts
    31

    Making Excel Table Loop to Work in All Tables

    Hi everyone,

    I have found below mentioned code which loops through all excel tables in a workbook to get something done. Initially the code works but when I try to edit to fill my needs then it doesn't work. I am unable to link column named "Doc Date" in all excel tables. I want to delete contents of column "Doc Date" in all tables in the workbook and it is giving me error. Kindly help in this regard.
    Original sub is as below.

    Please Login or Register  to view this content.
    Last edited by loverfellow; 12-01-2015 at 10:20 AM.

  2. #2
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: Making Excel Table Loop to Work in All Tables

    How are you trying to delete the column?

    Will the column you want to delete be present in every table?
    If posting code please use code tags, see here.

  3. #3
    Registered User
    Join Date
    03-11-2008
    Posts
    31

    Re: Making Excel Table Loop to Work in All Tables

    Quote Originally Posted by Norie View Post
    How are you trying to delete the column?

    Will the column you want to delete be present in every table?
    I want to clear contents of header column of "Doc Date" in every table. And yes the column will be be present in every table.

  4. #4
    Forum Guru Norie's Avatar
    Join Date
    02-02-2005
    Location
    Stirling, Scotland
    MS-Off Ver
    Microsoft Office 365
    Posts
    19,644

    Re: Making Excel Table Loop to Work in All Tables

    You don't say what you tried or how it didn't work but this worked for me.

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    03-11-2008
    Posts
    31

    Re: Making Excel Table Loop to Work in All Tables

    Thanks a lot buddy, it worked for me too.

+ 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. Making a pivot table work with rest of a table
    By Excelfail in forum Excel Charting & Pivots
    Replies: 0
    Last Post: 08-31-2015, 10:47 PM
  2. [SOLVED] Loop thru a table seating with 4 tables & 4 sessions & everyone must meet at each session
    By hoshangc@yahoo.com in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 07-07-2015, 02:59 PM
  3. Making Multiple Tables Have The Same Amount of Rows Using Excel VBA
    By Stryker152 in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 01-28-2015, 07:12 PM
  4. Making two crosstabs tables in one relational table.
    By nickstoy in forum Excel Charting & Pivots
    Replies: 3
    Last Post: 11-13-2012, 01:08 PM
  5. Auto table feature in excel doesnt work on multiple tables
    By Chris Lampard in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 05-26-2006, 08:25 AM
  6. [SOLVED] making excel work like a mail merge
    By tjb in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 12-05-2005, 06:15 PM
  7. Making Tables in Excel
    By Sheena in forum Excel General
    Replies: 0
    Last Post: 11-27-2005, 01:15 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