Automatically go to a cell based upon the value in another cell.
I am wanting to have excel go to the cell that is referenced in another cell.
For example, if I could get cell A1 to contain the text "B178" or "=B178", I would like to have excel select cell B178.
If the vale of A1 was to change to B173, that cell would be selected instead.
Is this possible at all?
Many thanks in advance.
BigBirch
Anwsers to the Problem Automatically go to a cell based upon the value in another cell.
Download Error Fixer for Free Now
It is possible through the use of a macro associated with the sheet's _Change() event. This works very well if you are manually entering the address into cell A1, it could be somewhat 'spotty' in operation if the contents of A1 is created using a formula,
depending on where the formula gets its values from.
Here's the very basic code for accomplishing this. It is worksheet event code so to put it into the correct place, select the worksheet and right-click on it's name tab and select [View Code] from the pop-up list. Copy and paste the code below into the
module that is then presented to you. Close the VBA editor and try it out by typing valid address entries into A1. You'll need to save the workbook as type .xlsm later, and remember to enable macro operation when you open it for use in the future.
Private Sub Worksheet_Change(ByVal Target As Range)
Static lastAddress As String
If Range("A1") <> lastAddress Then
lastAddress = Range("A1")
'in case the entry is not a valid address
On Error Resume Next
Range(lastAddress).Select
If Err <> 0 Then
Err.Clear ' ignore the error
End If
On Error GoTo 0
End If
End Sub
Manually editing the Windows registry
Caution: Unless you an advanced PC user, please do not edit the Windows registry manually.
Because of this risk, we highly recommend using a trusted registry cleaner such as SmartPCFixer Using a registry cleaner automates the process of finding invalid registry entries, missing file references (like the one causing your MACHINE_CHECK_EXCEPTION error), and broken links within the registry. A backup is automatically created before each scan, with the ability to undo any changes in a single click, protecting you against the possibility of PC damage. The best part is that repairing registry errors can also dramatically improve system speed and performance.
- Click the Start button.
- Type "command" in the search box... DO NOT hit ENTER yet!
- While holding CTRL-Shift on your keyboard, hit ENTER.
- You will be prompted with a permission dialog box.
- Click Yes.
- A black box will open with a blinking cursor.
- Type "regedit" and hit ENTER.
- In the Registry Editor, select the Error 0x9C-related key (eg. Windows Operating System) you want to back up.
- From the File menu, choose Export.
- In the Save In list, select the folder where you want to save the Windows Operating System backup key.
- In the File Name box, type a name for your backup file, such as "Windows Operating System Backup".
- In the Export Range box, be sure that "Selected branch" is selected.
- Click Save.
- The file is then saved with a .reg file extension.
- You now have a backup of your MACHINE_CHECK_EXCEPTION-related registry entry.
The next steps in manually editing your registry will not be discussed in this article due to the high risk of damaging your system. If you would like to learn more about manual registry editing, please see the links below.
Another Safe way to Fix the Problem: Automatically go to a cell based upon the value in another cell.:
How to Fix Automatically go to a cell based upon the value in another cell. with SmartPCFixer?
1. Download Error Fixer. Install it on your computer.
2. After the scan is done, you can see the errors and problems need to be repaired. Click Fix All.
3. The Repair part is finished, the speed of your computer will be much higher than before and the errors have been removed. You can also use other functions in SmartPCFixer. Like dll downloading, junk file cleaning and print spooler error repair.
Related: AMD Radeon HD 7800M Win8 not working [Anwsered],I can access the internet, get on facebook and get to hotmail, but I can't play games on facebook and I can't open or respond to my e-mails,I keep getting this Media Player error when I log on my computer. [Anwsered],[Anwsered] System Hanging on shutdown and restart,Unable to get the Vlookup property of the WorksheetFunction class,Solution to Error: Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive.
,Troubleshoot:External Hard Drive not listed in Windows 7 backup wizard Error
,I'm always being signed off so annoying Tech Support
,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.
,Solution to Problem: Referencing data in another file
,Troubleshoot:Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive. Error,External Hard Drive not listed in Windows 7 backup wizard Tech Support,Tech Support: I'm always being signed off so annoying,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.,Referencing data in Access using Excel [Anwsered],Need Best Way To Present Data [Anwsered],Same question but for windows 7 home edition,sometimes fullscreen won't activate [Solved],Solution to Error: We bought a new computer with windows 7 and it is constantly freezing. How do we fix this?,Solution to Error: Windows 8 update crash (2013-07-22)
Read More: Fast Solution to Problem: Auto Shutdown in task schduler-how to set up,Arial Unicode MS Font Missing in Windows 7 Notepad (Asked and Answered) [Solved],Troubleshoot:Average first 5 rows,Solution to Error: Backup on vista doesn't work,Tech Support: Automating Templates in MS Word 2010,application not found error,any problems in a team where one has Windows XP and the other has Windows 7?,Application/Object-Defined Error,An Excel formula question where hours are totalled and cumulating,Anyone know the hardware email?
No comments:
Post a Comment