+ Reply to Thread
Results 1 to 2 of 2

Two types of case statments

  1. #1
    Webtekr
    Guest

    Two types of case statments

    Hi,

    I have two different types of case statements in two different forms.

    Version 1 is based on a field called locat1.
    Select Case locat1
    Case "Ops"
    strcnt = "ops"
    End Select

    Version 2 is based on a group box.
    Select Case grpStaff.Value
    Case 1
    strcnt = "Ops"
    End Select

    The additional case statements for each follow suit.
    What I'd like to do is to change either one so I can create a module where I
    can access one type of case statement for both programs.

    please give your views..

    Thanks

  2. #2
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983

    Re: Two types of case statments

    Please take a couple of minutes and read ALL theForum Rules then wrap your VBA code (Rule 3)
    Please Read Forum Rules Before Posting
    Wrap VBA code by selecting the code and clicking the # icon or Read This
    How To Cross Post politely

    Top Excel links for beginners to Experts

    If you are pleased with a member's answer then use the Scales icon to rate it
    If my reply has assisted or failed to assist you I welcome your Feedback.

+ 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