+ Reply to Thread
Results 1 to 6 of 6

Strings instad of numbers after Case is? and wish to include more Colunms

  1. #1
    Registered User
    Join Date
    09-19-2014
    Location
    Nowhereland
    MS-Off Ver
    2010
    Posts
    5

    Question Strings instad of numbers after Case is? and wish to include more Colunms

    Hello all,
    I'm quite new to this forum and I'm not very experienced with vba. Today I found out two difficulties that I cannot solve for my own.
    First question is whether it is possible or not, and when how to get this code to work with Strings instead of numbers at the end of each CaseIs oiow "(Cells(i, k)?



    My second question is how to paste code in order to make "cells(i, x)" that let me choose some more Columns of same structure?

    Please Login or Register  to view this content.
    Please let me know when I left you confused!

  2. #2
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Strings instad of numbers after Case is? and wish to include more Colunms

    What is this supposed to be?

    each CaseIs oiow "(Cells(i, k)?
    Why don't you give us the big picture on what you are trying to do rather than the code that doesn't do it.

  3. #3
    Registered User
    Join Date
    09-19-2014
    Location
    Nowhereland
    MS-Off Ver
    2010
    Posts
    5

    Re: Strings instad of numbers after Case is? and wish to include more Colunms

    Yes, ok

    Hello stnkynts,
    I've got a lot of temperature data at different times, and I have to make a table, where there are categorys for this depending a) to the location, b) to measure time and their real values.

    What i've done is to abstract the data of the temperatures, which should show 7 different groups of the state of temperature, but at other measure time, there may be equal values which I would make visible with terms like a or bcd, or only f, there may happen all kombinations within one group.

    Thank you

  4. #4
    Registered User
    Join Date
    09-19-2014
    Location
    Nowhereland
    MS-Off Ver
    2010
    Posts
    5

    Re: Strings instad of numbers after Case is? and wish to include more Colunms

    My last post was weak, sorry for that.
    I'll try to make visible what I really have to do:

    I've got 25 Sheets. each of them represents a location. All sheets are of same Structure as follows.

    First Column a Date, In B a inventory number with 12 digits. But then comes in C, D, E, F, G, H and K measurements of temperature at definite times. On the other Hand there is a scale: 0-12, 12-19, 20-35, 36-50, 51-72, 73-84 and 85-100, called a, b, c , d, e, f, g.

    I shall find out which measures of temperature hit the scales per day.

    i hope you can help me.

  5. #5
    Forum Expert
    Join Date
    07-31-2010
    Location
    California
    MS-Off Ver
    Excel 2007
    Posts
    4,070

    Re: Strings instad of numbers after Case is? and wish to include more Colunms

    Can you submit an example workbook? I can honestly say I have no idea what your workbook looks like based upon your post

  6. #6
    Registered User
    Join Date
    09-19-2014
    Location
    Nowhereland
    MS-Off Ver
    2010
    Posts
    5

    Re: Strings instad of numbers after Case is? and wish to include more Colunms

    Thanks for your interest,

    I've attached a picture shortened to what is really neccesary.

    Hope I doesn't waste your precious time.
    Attached Images Attached Images

+ 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. How to include quoation marks in strings?
    By pablowilks in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 08-14-2013, 03:24 PM
  2. how to match strings with different case
    By tryer in forum Excel Programming / VBA / Macros
    Replies: 2
    Last Post: 01-10-2012, 10:51 AM
  3. Help: Using Case Like Function w/ Strings
    By Timer in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 04-20-2011, 02:10 PM
  4. Identifying the Case of Letters within Strings
    By DougStroud in forum Tips and Tutorials
    Replies: 5
    Last Post: 10-28-2005, 11:35 PM
  5. Excel Font Effects should include Upper Case
    By Joe Koss in forum Excel Formulas & Functions
    Replies: 0
    Last Post: 09-07-2005, 03:05 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