+ Reply to Thread
Results 1 to 4 of 4

VBA, excel : deleting/inserting rows , no errors, no result

  1. #1
    Registered User
    Join Date
    06-22-2020
    Location
    Arnhem, Netherlands
    MS-Off Ver
    Office 2016
    Posts
    2

    VBA, excel : deleting/inserting rows , no errors, no result

    Who can help/analyse? tried all kinds of statements but rows are not added/deleted.
    Below is not the most effective way in VBA but I had to find out why statements do not process without giving errors.
    I am using tables (listobjects) so I do not have to use cell/row adresses that use column-letters or row-number.

    If any wrong posting, sorry first time user.
    Attached Files Attached Files

  2. #2
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: VBA, excel : deleting/inserting rows , no errors, no result

    I don't think excel allows a UDF to manipulate cells on a worksheet. You would need to use a subroutine to delete rows.

  3. #3
    Registered User
    Join Date
    06-22-2020
    Location
    Arnhem, Netherlands
    MS-Off Ver
    Office 2016
    Posts
    2

    Re: VBA, excel : deleting/inserting rows , no errors, no result

    [SOLVED]
    Hello, thanks,
    Sorry for late reaction, got the same answer from another channel, it is helpfull.
    Since I am relatively new in VBA , the term UDF cost me some investigation before I understood it.
    Made use of a mocro and a button, got it working now.

  4. #4
    Forum Expert dangelor's Avatar
    Join Date
    09-06-2011
    Location
    Indiana, USA
    MS-Off Ver
    365 Pro Plus
    Posts
    2,274

    Re: VBA, excel : deleting/inserting rows , no errors, no result

    Glad to hear...

    Keep in mind forum rule #3. Questions that are cross-posted to other web forums must contain links to those posts on those forums or a comment to tell us where else the question has been asked.

    Please read this to understand why we (and other sites like us) consider this to be important.

+ 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. Excel links & inserting/deleting rows
    By jd in forum Excel General
    Replies: 2
    Last Post: 02-04-2006, 04:25 PM
  2. Updating, Deleting and inserting rows over two Excel Sheets
    By Dilip Mistry in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 11:05 AM
  3. Updating, Deleting and inserting rows over two Excel Sheets
    By Dilip Mistry in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 10:05 AM
  4. [SOLVED] Updating, Deleting and inserting rows over two Excel Sheets
    By Dilip Mistry in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 06:05 AM
  5. [SOLVED] Updating, Deleting and inserting rows over two Excel Sheets
    By Dilip Mistry in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 04:05 AM
  6. [SOLVED] Updating, Deleting and inserting rows over two Excel Sheets
    By Dilip Mistry in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-06-2005, 12:05 AM
  7. Updating, Deleting and inserting rows over two Excel Sheets
    By Dilip Mistry in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-05-2005, 10:05 PM
  8. [SOLVED] Updating, Deleting and inserting rows over two Excel Sheets
    By Dilip Mistry in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 07-25-2005, 03:05 PM

Tags for this Thread

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