+ Reply to Thread
Results 1 to 5 of 5

excel formula and VBA not friends

  1. #1
    Registered User
    Join Date
    06-16-2013
    Location
    barry
    MS-Off Ver
    Excel 2010
    Posts
    7

    excel formula and VBA not friends

    cell a1 has formula =int(rand()*15)
    If I use use code to make b1 = a1 VBA seems to use its own random integer.

    Can anyone enlighten me and if possible have vba use the display value in a1.

    thx

  2. #2
    Forum Contributor
    Join Date
    02-15-2010
    Location
    Everett, WA
    MS-Off Ver
    All versions; most components
    Posts
    188

    Re: excel formula and VBA not friends

    Please Login or Register  to view this content.

  3. #3
    Registered User
    Join Date
    06-16-2013
    Location
    barry
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: excel formula and VBA not friends

    Thx for your reply gyclone, but did u actually test this code as it doesnt work for me.

    Can someone please help!!!

  4. #4
    Registered User
    Join Date
    06-16-2013
    Location
    barry
    MS-Off Ver
    Excel 2010
    Posts
    7

    Re: excel formula and VBA not friends

    Had to change formula calculation to manual. Thx clone

  5. #5
    Forum Contributor
    Join Date
    02-15-2010
    Location
    Everett, WA
    MS-Off Ver
    All versions; most components
    Posts
    188

    Re: excel formula and VBA not friends

    Ah, sorry about that. Mine is almost always set to manual.

+ 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