+ Reply to Thread
Results 1 to 3 of 3

How to Insert Column Headers and Clean up code

  1. #1
    Registered User
    Join Date
    12-27-2010
    Location
    Philippines
    MS-Off Ver
    Excel 2007
    Posts
    24

    How to Insert Column Headers and Clean up code

    Hi! Can you help me streamline/ clean up this code? It takes a while for it to run.

    Thank you very much!

    Please Login or Register  to view this content.
    Last edited by whattodo; 02-25-2018 at 06:02 AM. Reason: edited: can already insert column headers

  2. #2
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: How to Insert Column Headers and Clean up code

    Deleted by kev - I got distracted and amended the wrong bit of code
    Last edited by kev_; 02-25-2018 at 10:31 AM.
    Click *Add Reputation to thank those who helped you. Ask if anything is not clear

  3. #3
    Forum Expert
    Join Date
    11-22-2016
    Location
    Cornwall,UK
    MS-Off Ver
    office 365
    Posts
    4,240

    Re: How to Insert Column Headers and Clean up code

    Instead of:
    Please Login or Register  to view this content.
    Avoid looping with:
    Please Login or Register  to view this content.
    Same applies to other loop

    Just like disabling screen updating, it may also help to set calculation to manual with:
    Please Login or Register  to view this content.
    And resetting things afterwards with:
    Please Login or Register  to view this content.
    Last edited by kev_; 02-25-2018 at 02:08 PM.

+ 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: 1
    Last Post: 02-03-2016, 02:33 AM
  2. [SOLVED] listbox with column headers as a specific sheet column headers
    By ANDREAAS in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 06-07-2014, 04:40 AM
  3. [SOLVED] VBA code to copy column data only if headers match
    By rocksan in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-13-2012, 11:23 PM
  4. [SOLVED] VBA Code to optimize and clean data- clean out numerical/ or symbol
    By tracylsr in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 04-05-2012, 04:21 PM
  5. How do I insert Column headers to data that I have transposed?
    By Onenguyen in forum Excel Formulas & Functions
    Replies: 3
    Last Post: 10-07-2010, 01:16 PM
  6. Insert column headers then formulas
    By abomnia in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-23-2010, 10:22 AM
  7. Need to "clean up" a code for formatting a column
    By excelaspire0219 in forum Excel Programming / VBA / Macros
    Replies: 5
    Last Post: 02-05-2009, 05:42 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