I'm attempting to change the focus when you select a cell. This is what I have thus far, but it is not working. Any suggestions?
![]()
Please Login or Register to view this content.
I'm attempting to change the focus when you select a cell. This is what I have thus far, but it is not working. Any suggestions?
![]()
Please Login or Register to view this content.
Instead of:
How about:![]()
Please Login or Register to view this content.
![]()
Please Login or Register to view this content.
Hi,
Please explain what is supposed to be happening.
Thanks, StevenM, but that did not work.
Dave, I want the focus to switch from cell Template!C18 to Ranges!C2 when you click on Template!C18.
This should do it then
Place this in the "Template" worksheet module.![]()
Please Login or Register to view this content.
Copy and place in worksheet module "Template":
![]()
Please Login or Register to view this content.
Neither of those work either. Is there something I need to enable to make this happen? My security is set to allow Macros and I've not had problems previously getting code to work.
The worksheet spelling has to be exact, and you need to place the code in the worksheet module.
Right click on the "Template" sheet tab and select view code, paste the code there.
http://imgur.com/c5Hl8
Posted the cell/worksheet names directly from Excel. Image of where I'm placing this code.
That looks correct. I'm at a loss here, the code worked for me.
Last edited by StevenM; 05-07-2012 at 09:18 PM.
As am I because I just tested it on a black workbook and it worked fine...
There's a formula in the target cell but I wouldn't think that'd be an issue.
Your picture does not show the code I gave you.
No it shows Stevens. The image is merely to show where I'm placing the codes you are suggesting.
I've tested both of your codes in a fresh workbook and they both work, which tells me the problem is not with the code but with the workbook.
Attached is the workbook if you would like to take a look.
Last edited by thesonofdarwin; 05-07-2012 at 09:31 PM.
Nowhere did you mention that the target cell was a merged cell!!!
It is not good practice to use merged cells.![]()
Please Login or Register to view this content.
Ugh, sorry for the headache! I know using merged cells is not ideal, but the format and required information on each page is set in stone for now. I have to work within those requirements.
Thanks for the assistance, guys.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks