Consulting

Results 1 to 3 of 3

Thread: Dim "refrenance to cell text" as integer

  1. #1
    VBAX Tutor
    Joined
    Jul 2010
    Posts
    225
    Location

    Dim "refrenance to cell text" as integer

    I have a statement...

    Dim Area as integer

    I would like the integer be variable based on the name that can change. Is it possible to refrence the name to a cell text as the integer?

    example

    Dim Thisworkbook.sheets("book1").range("a1").text as integer

    I cant get that one to work.

  2. #2
    VBAX Mentor
    Joined
    Jul 2012
    Posts
    398
    Location
    why ? what's the goal ?

  3. #3
    VBAX Tutor
    Joined
    Jul 2010
    Posts
    225
    Location
    I would like my user to be able to change the name of the integer. Right now the integer is an name of a place. I want the user to be able to change the name and the code will adjust to the new name and use that name as the new integer

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •