+ Reply to Thread
Results 1 to 2 of 2

Simple coding in Excel

  1. #1
    craigs
    Guest

    Simple coding in Excel

    I have created a series of forms which go from one to another via a macro,
    which is simply:

    Sheets("Implementation").Select
    DialogSheets("Implementation").Show

    (created by record macro).

    There are two issues:

    1. This same code does not work when assigned to auto_macro for the first
    form?
    2. After moving to subsequent forms, the previous forms are visible (but
    not accessible) in the background. This just looks untidy and I would like a
    command to close them.

    Many thanks

  2. #2
    Bob
    Guest

    RE: Simple coding in Excel

    Have you tried?

    Sheets("Sheet Name").Visible = True
    Sheets("Sheet Name2).Visible = False


    "craigs" wrote:

    > I have created a series of forms which go from one to another via a macro,
    > which is simply:
    >
    > Sheets("Implementation").Select
    > DialogSheets("Implementation").Show
    >
    > (created by record macro).
    >
    > There are two issues:
    >
    > 1. This same code does not work when assigned to auto_macro for the first
    > form?
    > 2. After moving to subsequent forms, the previous forms are visible (but
    > not accessible) in the background. This just looks untidy and I would like a
    > command to close them.
    >
    > Many thanks


+ 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