+ Reply to Thread
Results 1 to 12 of 12

Slow Macro Modify

  1. #1
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post Slow Macro Modify

    dear friends below two macro i want to run one time.for that i have used " call " function.this macro work fine but very slow.pls any body can combined this two macros & remake to work fast.thanks.
    Please Login or Register  to view this content.
    Please Login or Register  to view this content.
    Last edited by johncena; 04-06-2010 at 12:40 AM.

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Slow Macro Modify

    This looks the same as your previous post
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post Re: Slow Macro Modify

    dear sir royUK.pls check my previous post.these macros not same..
    http://www.excelforum.com/excel-prog...very-slow.html

  4. #4
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Slow Macro Modify

    So why not apply what you learned from the previous post?

  5. #5
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Slow Macro Modify

    Try this first

    Please Login or Register  to view this content.

    If this does what you want, we can then address Lotremove.

    P.S. This is very similar to the last stages of your previous post on the subject.

    http://www.excelforum.com/excel-prog...very-slow.html

    The main difference is the use of AutoFilter

    Cheers

  6. #6
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: Slow Macro Modify

    sir Marcol it's not working.if column "E" has any values then same row column "H" value should clear.but column "E" don't have any value then column "H" values no need to clear.this macro cleaning column "H" all values.

  7. #7
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Slow Macro Modify

    Try changing this line

    Please Login or Register  to view this content.
    To
    Please Login or Register  to view this content.

    Is that what you want?

  8. #8
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: Slow Macro Modify

    thanks a lot sir Marcol now it's work very well very fast.this is last answer or u will do something to second macro also..

  9. #9
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Slow Macro Modify

    Re: Sub Lotremove()

    1/. Are you just wanting to clear all formulae in Column "M" and replace with their values?

    2/. What are you trying to do with Columns "E" & "H" ?
    Seems to me that they were dealt with in Sub Sticker(), No?

  10. #10
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Post Re: Slow Macro Modify

    Quote Originally Posted by Marcol View Post
    Re: Sub Lotremove()

    1/. Are you just wanting to clear all formulae in Column "M" and replace with their values?

    2/. What are you trying to do with Columns "E" & "H" ?
    Seems to me that they were dealt with in Sub Sticker(), No?
    column "M" i want to keep only first 6 characters.
    Columns "E" & "H" all empty cells should fill with " ' " apostrophe.

  11. #11
    Forum Guru (RIP) Marcol's Avatar
    Join Date
    12-23-2009
    Location
    Fife, Scotland
    MS-Off Ver
    Excel '97 & 2003/7
    Posts
    7,216

    Re: Slow Macro Modify

    Just what this has to do with keeping the first 6 characters in a cell, I don't know?

    Please Login or Register  to view this content.

    However try this
    Please Login or Register  to view this content.

    1/. What purpose does filling blank cells with an apostrophe serve? I'm curious.

    2/. There is nothing in this code, as can clearly be seen, that could not been done without a macro,

    3/. For one-offs you should consider using Excel as it comes straight out of the box.


    Hope this helps.

  12. #12
    Forum Contributor
    Join Date
    02-14-2010
    Location
    oman
    MS-Off Ver
    Excel 2003
    Posts
    384

    Re: Slow Macro Modify

    thanks u very much sir Marcol.now this macro work very fast.thanks a lot.i have try to give REP+ but it's saying (You must spread some Reputation around before giving it to Marcol again).sorry for that.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

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