+ Reply to Thread
Results 1 to 5 of 5

Convert Range to Table for a specific range in each selected sheet

  1. #1
    Registered User
    Join Date
    01-24-2019
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    3

    Convert Range to Table for a specific range in each selected sheet

    Hello,

    I would like to change this VBA code to be able to run it on selected sheets (looping) in one workbook but got stuck. (Ideally if the table name of each created table in each sheet =cell B3 of respective sheet (not a must though))
    Help very appreciated.

    Please Login or Register  to view this content.

    Thank You!

  2. #2
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,907

    Re: Convert Range to Table for a specific range in each selected sheet

    Something like:

    Please Login or Register  to view this content.
    Rory

  3. #3
    Registered User
    Join Date
    01-24-2019
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    3

    Re: Convert Range to Table for a specific range in each selected sheet

    Quote Originally Posted by rorya View Post
    Something like:

    Please Login or Register  to view this content.
    Hi Rory,

    It worked beautifully! Thank You so much!

    One addition: would it be complicated to add a code so that there is no table formatting at all. My solution is to go to table design , go to table styles and choose the first one.. For I would prefer not to do it manually for 52 sheets. One way is to set this table style as default before running the macro but if there is a more elegant way , like adding a line to the code, it would be great.

  4. #4
    Forum Expert rorya's Avatar
    Join Date
    08-13-2008
    Location
    East Sussex, UK
    MS-Off Ver
    365 Ent Monthly Channel / Insiders Beta
    Posts
    8,907

    Re: Convert Range to Table for a specific range in each selected sheet

    Try this:

    Please Login or Register  to view this content.

  5. #5
    Registered User
    Join Date
    01-24-2019
    Location
    Germany
    MS-Off Ver
    2016
    Posts
    3

    Re: Convert Range to Table for a specific range in each selected sheet

    Fantastic, thank You so much!

+ 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] Function Range From A Selected Cell To The End Of A Table Range?
    By Ourkid123uk in forum Excel Formulas & Functions
    Replies: 5
    Last Post: 06-18-2019, 09:07 AM
  2. Copy dynamic range from closed workbook paste as table into specific sheet
    By Huskersippi in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 04-16-2019, 11:35 PM
  3. Replies: 2
    Last Post: 07-15-2018, 06:27 PM
  4. Replies: 3
    Last Post: 01-21-2018, 08:31 PM
  5. [SOLVED] Macro to Convert Selected Range to Table
    By AHFoddeR in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 10-09-2013, 08:39 PM
  6. Copy and paste specific range to date specific range in alternate sheet
    By alanalmarza in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-21-2013, 08:29 AM
  7. How do I edit a selected range then copy the range into an new sheet???
    By dwyborn in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 12-16-2005, 12:11 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