+ Reply to Thread
Results 1 to 4 of 4

Trouble Setting a cell to a value

  1. #1
    Registered User
    Join Date
    12-17-2007
    Posts
    14

    Trouble Setting a cell to a value

    So i have this code, that unmerges some merged cells and then applies border
    then i'm trying to set the value of the empty cells and its not working

    The setting of the values is closer to the bottom of the code
    There are two checks, one msgbox that says "its here"

    and another that says "its here2" after the setting of the values

    the second msgbox never comes up and has me very confused

    anyone got any ideas?


    Please Login or Register  to view this content.

  2. #2
    Registered User
    Join Date
    12-17-2007
    Posts
    14
    anyone atleast have any ideas why it might be skipping that code?
    or appear to be skipping the code

  3. #3
    Forum Expert MickG's Avatar
    Join Date
    11-23-2007
    Location
    Banbury,Oxfordshire
    Posts
    2,650

    functions

    Try running your code as a sub
    Functions return values they don't perform actions with objects.
    Mick G

  4. #4
    Registered User
    Join Date
    12-17-2007
    Posts
    14
    yea i tried it outside the function and all is well
    thats kinda annoying, but o well

    thanks for the 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