Results 1 to 3 of 3

Thread: [RESOLVED] Hiding "working" macro

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Location
    Bloomingdale, IL USA
    Posts
    284

    Resolved [RESOLVED] Hiding "working" macro

    When the macro executes, is there a way to hide what the macro is doing so that the user does not see everything that happens in the background. Also, is there a way to open a workbook from a macro and pull information out of it without it being "open" for the user to see?

    Any help is appreciated.
    Thanks!

  2. #2
    PowerPoster
    Join Date
    Dec 2004
    Posts
    25,618

    Re: Hiding "working" macro

    try at the start of your code
    vb Code:
    1. application.sceenupdaing = false
    set to true at end of code
    i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
    Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next

    dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part

    come back and mark your original post as resolved if your problem is fixed
    pete

  3. #3

    Thread Starter
    Hyperactive Member
    Join Date
    Aug 2004
    Location
    Bloomingdale, IL USA
    Posts
    284

    Re: Hiding "working" macro

    vb Code:
    1. Application.ScreenUpdating = False
    Thanks, it works perfectly!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width