+ Reply to Thread
Results 1 to 2 of 2

how to find the column number in vba to use as a variable

  1. #1
    Registered User
    Join Date
    09-16-2010
    Location
    oslo, norway
    MS-Off Ver
    Excel 2007
    Posts
    9

    how to find the column number in vba to use as a variable

    Hello

    i`m trying to find the column number in sheets "STATESTIK" to use as a variable B

    the value in "RESULTAT" "B2" is today date
    the dates 01.01.2010, 01.02.2010, 01.03..... is in sheets "STATESTIK" row "5"
    at the først day in a month i want to copy the value in sheets "RÅDATA" "D2" to "STATESTIK" (A, B)

    if i define the variable B = f.ex 5 it works

    how can tell vba to retun the column number of f.ex 01.01.2010 in sheets "SATESTIK" ROW "5"

    Please Login or Register  to view this content.
    Last edited by Paul; 11-18-2010 at 06:10 PM. Reason: Added code tags for user, please do so yourself in the future.

  2. #2
    Registered User
    Join Date
    09-16-2010
    Location
    oslo, norway
    MS-Off Ver
    Excel 2007
    Posts
    9

    Re: how to find the column number in vba to use as a variable

    can somone please help ?

+ 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