+ Reply to Thread
Results 1 to 5 of 5

Hel with Dim and detrmining dimension

  1. #1
    Registered User
    Join Date
    03-22-2012
    Location
    Bangalore, IND
    MS-Off Ver
    EXCEL 2010, 2007
    Posts
    90

    Hel with Dim and detrmining dimension

    Hi dear friends


    Hope all of you are rocking

    I am a beginner to VBA and hmm I was scratching my head and digging in google yest onwards is there any way to solve this

    I have a network share folder where users will save file


    eg:

    Dim user3
    dim user4
    dim user5



    user3 = Range("A2").Value
    user4 = Range("A3").Value

    dis is a example not actual snippet


    \\id-fm01\Profiles\WorkTools\Britto\CREDENTIALS.XLSX
    \\id-fm01\Profiles\WorkTools\SAM\CREDENTIALS.XLSX
    \\id-fm01\Profiles\WorkTools\TAM\CREDENTIALS.XLSX
    \\id-fm01\Profiles\WorkTools\USER3\CREDENTIALS.XLSX
    \\id-fm01\Profiles\WorkTools\USER4\CREDENTIALS.XLSX
    \\id-fm01\Profiles\WorkTools\USER5\CREDENTIALS.XLSX
    \\id-fm01\Profiles\WorkTools\USER6\CREDENTIALS.XLSX

    IF I run d snippet


    problem is dimension value is not taking to path.. it showing as file not found
    Vipin Oceans

  2. #2
    Forum Contributor arlu1201's Avatar
    Join Date
    09-09-2011
    Location
    Bangalore, India
    MS-Off Ver
    Excel 2003 & 2007
    Posts
    19,166

    Re: Hel with Dim and detrmining dimension

    What is the entire code you are using?
    If I have helped, Don't forget to add to my reputation (click on the star below the post)
    Don't forget to mark threads as "Solved" (Thread Tools->Mark thread as Solved)
    Use code tags when posting your VBA code: [code] Your code here [/code]

  3. #3
    Registered User
    Join Date
    03-22-2012
    Location
    Bangalore, IND
    MS-Off Ver
    EXCEL 2010, 2007
    Posts
    90

    Re: Help with Dim and detrmining dimension

    Here is the code ...

    Please Login or Register  to view this content.

    here in the
    path "\\is-fs01\QA & Training\Claims\Consolidation Reports\Schakka\Production Report October 2012.xlsx"


    i would like to put "schakka" which is a username in my excel sheet in a specific cell so that tommorow even if my user changes .. I dont need to change the snippet

    Thanks a Lot Arul for reply

  4. #4
    Forum Contributor stojko89's Avatar
    Join Date
    05-18-2009
    Location
    Maribor, Slovenia
    MS-Off Ver
    MS Office 365
    Posts
    913

    Re: Hel with Dim and detrmining dimension

    Please Login or Register  to view this content.
    Try this

  5. #5
    Registered User
    Join Date
    03-22-2012
    Location
    Bangalore, IND
    MS-Off Ver
    EXCEL 2010, 2007
    Posts
    90

    Re: Hel with Dim and detrmining dimension

    Thanks Stojk089,
    I will implement and get back .. gve me some time , I think it will work cent percent ... thanks a lot and for Arul also...

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

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