+ Reply to Thread
Results 1 to 3 of 3

How to adress columns

  1. #1
    Registered User
    Join Date
    03-06-2008
    Posts
    6

    How to adress columns

    Hello

    I have a little problem: I measurement data that are exactly 100 lines long but are split up in columns. Each column represents a time frame of 100ms. Thus, if you measure for 30s you get 300 columns... Now, I want to have all the data in one column. Tried to write a little macro that copies all the columns into the first one, but unfortunately that is not so easy. The columns are addressed by actual characters (A,B,C,D..) not by numbers. My program successfully gets the maximum amount of columns by fails by addressing an individual one because in they program works with numbers instead of characters (1,2,3 instead of A,B,C). Does anyone know how I can address the columns? If I am not clear enough please let me know

    Thanks

    Adrian

  2. #2
    Forum Moderator Leith Ross's Avatar
    Join Date
    01-15-2005
    Location
    San Francisco, Ca
    MS-Off Ver
    2000, 2003, & 2010
    Posts
    23,258
    Hello Adrian,

    To really answer your question quickly, you should post your workbook for review. There could issues with workbook settings as well as the coding. Please remove any confidential information from your workbook and then zip it. The maximum file size after zipping a file is 100 kb.

    Sincerely,
    Leith Ross

  3. #3
    Valued Forum Contributor mudraker's Avatar
    Join Date
    11-10-2003
    Location
    Melbourne, Australia
    Posts
    3,983
    You can address columns by letters or numbers regardless of what they are labled on the screen

    the following examples all refer to cell a1
    Please Login or Register  to view this content.
    You can easily use a version of the 2nd method within loops
    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