LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Junior Member
 
Posts: 2
Default Using ActiveCell.Value Yields Circular Reference

Hey guys, I've recently been assigned a project that uses VBA and I've been slamming my head against the keyboard for a few hours on this one, so any help would be more greatly appreciated than you can possibly imagine. I can't find anything online, and the answer is probably really simple. In any case:

Function HelpPlease()

Call GetTableValue(i)

MsgBox "value is" & i

End Function



Sub GetTableValue(i)

Sheets("TableC11").Select
Range("A6").Select


i = ActiveCell.Value

End Sub


Does not return the value stored in A6 and creates an annoying spurt of message boxes telling me that the value is 0. I'm seriously about to break my computer from sheer rage. Help please!
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
circular reference dusty Excel Discussion (Misc queries) 1 November 15th 07 06:56 PM
Circular Reference Shay[_2_] Excel Programming 1 May 29th 07 10:24 PM
Circular Reference? ags5406 Excel Programming 1 June 29th 06 06:21 PM
HELP: circular reference PPT Excel Programming 1 January 29th 06 03:57 AM
Circular Reference munim Excel Worksheet Functions 15 January 5th 06 08:36 AM


All times are GMT +1. The time now is 11:10 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"