+ Reply to Thread
Results 1 to 3 of 3

Using strings as arguments

  1. #1
    Forum Contributor
    Join Date
    09-23-2007
    Location
    Melbourne, Australia
    Posts
    176

    Using strings as arguments

    Hi All

    I've tried to write some code where I insert strings as argumets when referring to rows. Eg

    Please Login or Register  to view this content.
    would be how I am supposed to do this

    though I want to replace the 3's with strings which return 3. Eg

    Linect = 3

    Please Login or Register  to view this content.
    This doesn't seem to work. I want to use strings as arguments like you can with the offest method though this isn't working. Could someone suggest a solution here and a reason why this won't work? Thanks in advance.
    Last edited by VBA Noob; 09-23-2007 at 10:47 AM.

  2. #2
    Forum Contributor VBA Noob's Avatar
    Join Date
    04-25-2006
    Location
    London, England
    MS-Off Ver
    xl03 & xl 07(Jan 09)
    Posts
    11,988
    Welcome to the forum. Please read rules below. All code must be wrapped.

    Please Login or Register  to view this content.
    VBA Noob
    _________________________________________


    Credo Elvem ipsum etian vivere
    _________________________________________
    A message for cross posters

    Please remember to wrap code.

    Forum Rules

    Please add to your signature if you found this link helpful. Excel links !!!

  3. #3
    Forum Contributor
    Join Date
    07-05-2007
    Location
    Lexington, MA
    Posts
    302
    VBA requires different functions and properties.
    Please Login or Register  to view this content.
    FrankBoston is the pen name for Andrew Garland, Lexington MA

+ 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