+ Reply to Thread
Results 1 to 3 of 3

Delet Column by Named Range

  1. #1
    Forum Contributor
    Join Date
    07-07-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    500

    Delet Column by Named Range

    Greetings,
    I am needing to delete a column but cannot figure out what I am doing wrong. The following code works to hide the columns, but when I use the "delete" code, I get an error message.
    Please Login or Register  to view this content.

  2. #2
    Forum Expert Olly's Avatar
    Join Date
    09-10-2013
    Location
    Darlington, UK
    MS-Off Ver
    Excel 2016, 2019, 365
    Posts
    6,284

    Re: Delet Column by Named Range

    Hidden is a property, so may be assigned a value (TRUE or FALSE).

    Delete is a method, so use:

    Please Login or Register  to view this content.
    let Source = #table({"Question","Thread", "User"},{{"Answered","Mark Solved", "Add Reputation"}}) in Source

    If I give you Power Query (Get & Transform Data) code, and you don't know what to do with it, then CLICK HERE

    Walking the tightrope between genius and eejit...

  3. #3
    Forum Contributor
    Join Date
    07-07-2017
    Location
    USA
    MS-Off Ver
    2010
    Posts
    500

    Re: Delet Column by Named Range

    Olly,
    Works great!!! Thank you much for the insight regarding what a method is - I did not know that.

+ 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. Replies: 4
    Last Post: 07-19-2013, 04:35 AM
  2. [SOLVED] Conditionally Delete Rows if Column F = 0 (ZERO ) I would like a Macro that would Delet
    By worswick25 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 04-01-2013, 11:09 AM
  3. [SOLVED] Dynamic Named Range Help - Range Based on Values in Column
    By Filibuster in forum Excel Formulas & Functions
    Replies: 9
    Last Post: 08-03-2012, 11:13 AM
  4. Replies: 2
    Last Post: 09-03-2011, 04:31 AM
  5. Code Repair - Copy Column to New Worksheet and Delet
    By RobGair in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 08-12-2010, 03:01 PM
  6. turn 1 column into 2 , first cell Col.A, 2nd Col.B, 3rd delet...
    By wali in forum Excel Programming / VBA / Macros
    Replies: 8
    Last Post: 11-08-2009, 08:29 AM
  7. how to delet specific signs or letter at the END of a column?
    By wali in forum Excel Programming / VBA / Macros
    Replies: 10
    Last Post: 12-13-2007, 03:36 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