Excel ctrl end отбрасывает в самый конец
У меня есть некоторые данные, вставленные в строки 500–503. Я намеренно разместил данные в этих строках, потому что эти строки будут использоваться в макросах, а не в представлении пользователя. Данные, относящиеся к пользователю, заканчиваются на строке 100.
Я скрыл строки 500-503, но после нажатия Ctrl + End курсор переместится в строку 499.
Мое требование: после нажатия Ctrl + End курсор должен находиться в последней ячейке строки 100.
Итак, как мне это сделать?
РЕДАКТИРОВАТЬ: Спасибо за все ответы. Многие советовали мне иметь еще один лист для данных, не связанных с пользователем, но я не могу его получить. Также у меня не должно быть сценариев vba. (Должен был дать вам эти условия раньше . плохо!)
4 ответа
Эта проблема будет устранена с помощью лучшей изоляции.
То есть рабочие листы, предназначенные для использования пользователем, должны содержать только элементы, необходимые для пользовательского интерфейса. В этом случае только те строки, которые должен видеть пользователь.
Любые данные, которые необходимо сохранить на рабочих листах, не предназначенных для непосредственного использования пользователем, должны находиться на отдельных рабочих листах, которые даже можно полностью скрыть от пользователя.
Как говорили другие, безусловно, лучше разделить ваши непользовательские данные на другом листе.
Тем не менее, одна вещь, которую вы можете сделать, - это защитить свой лист и запретить доступ к заблокированным ячейкам, оставив разблокированными только ячейки, в которые пользователь должен ввести что-то.
Это не позволяет Ctrl End вообще что-либо делать: он не может перейти к последней ячейке, поскольку она заблокирована, поэтому ничего не делает. (Проверено в Excel 2007)
Но опять же, вам, вероятно, будет лучше, если разделить пользовательские и непользовательские данные на разных листах.
Это встроенное поведение Excel, и я не думаю, что вы можете его изменить. Предложения:
- Поместите скрытые данные на другой лист той же книги. Это действительно самый чистый способ работы.
- В качестве альтернативы используйте Ctrl стрелку вниз или End стрелку вниз вместо Ctrl Конец .
Конкретный ответ на ваш вопрос, конечно, таков: перехватить использование клавиши Ctrl-END.
Вы можете легко сделать это, указав на листе следующие триггеры событий:
И еще один модуль, содержащий
Еще один симпатичный способ удовлетворить описанные вами требования и избавить от необходимости наблюдать и подавлять клавиши - это ограничить навигацию строкой 100. Теперь Ctrl-END поместит пользователя в крайний правый столбец строки 100, а Ctrl-DOWN будет закрыто. также. Фактически, пользователь просто не может пройти строку 100
Но ждать . неужели нет способа? . конечно, пользователь все еще может ПРОКРУТИТЬ мимо строки 100 и обнаружить ваше маленькое пасхальное яйцо row-500. Поэтому я на 100% согласен с предыдущими предложениями о другой стратегии, потому что
- пользователь, обнаруживший, что именно строка 500–503 скрыт, может чрезвычайно заинтересоваться, почему
- Ctrl-END - не единственный способ, с помощью которого пользователь может перемещаться по строке 100 - вам нужно будет подавить END-DOWN (комбинация из двух клавиш . вам нужно буферизовать END и спросить следующую клавишу: вы ВНИЗ? .. веселиться!)
- и вы тратите место на диске, чтобы сохранить лист с таким количеством пустых строк только для этой строки 500
У вас могут быть причины для реализации подавителя клавиш, но всегда помните, что у пользователя есть много разных способов обойти его, и это нужно очень тщательно продумать.
При нажатии Ctrl+End Excel активизирует нижнюю правую ячейку используемой области листа. Случается, что программа делает текущей не реально последнюю ячейку с информацией, а пустую нижнюю правую ячейку листа.
Другими словами, иногда Excel неверно определяет размер используемой области листа. Например, вы можете обнаружить, что, размер файла книги оказался слишком большим. Вполне возможно, что Excel ошибочно идентифицировал используемую область и хранит большое количество пустых ячеек.
Для начала попробуйте сохранить книгу. После этого Excel может правильно определить последнюю ячейку. Если он по-прежнему не определил последнюю используемую ячейку, вероятно, вы удалили данные, но оставили форматирование ячеек. Чтобы Excel выявил реально используемую область, вам нужно удалить столбцы справа отданных и строки, находящиеся снизу от данных.
Предположим, что реально последней ячейкой в книге является ячейка G25 , но нажатие Ctrl+End приводит вас не к ней, а к М50 . Для удаления отформатированных ячеек выполните следующие действия.
- Выберите все столбцы справа от столбца G . Для этого активизируйте любую ячейку в столбце Н , нажмите Ctrl+Пробел, затем Shift+End и в конце, удерживая нажатой Shift, нажмите клавишу →.
- Выполните команду Главная → Ячейки → Удалить → Удалить столбцы с листа (или щелкните правой кнопкой мыши на заголовке любого столбца и выберите команду Удалить).
- Выделите все строки ниже строки 25. Для этого активизируйте любую ячейку в строке 26. Нажмите Shift+Пробел, затем Shift+End и в конце, удерживая нажатой Shift, нажмите клавишу ↓.
- Выполните команду Главная → Ячейки → Удалит → Удалить строки с листа(или щелкните правой кнопкой мыши на заголовке любой строки и выберите команду Удалить).
- Сохраните книгу, и Excel переопределит последнюю ячейку.
После выполнения этих шагов нажатие клавиш Ctrl+End приведет вас к реальной последней ячейке.
Кстати, если вы не можете вспомнить сочетание клавиш Ctrl+End, используйте диалоговое окно Выделение группы ячеек. Выберите Главная → Найти и выделить → Выделение группы ячеек и в появившемся окне установите переключатель в положение последнюю ячейку. Нажмите ОК.
В приложенном файле - удобная таблица сочетаний клавиш для любых версий Microsoft Excel в русском и английском вариантах. В качестве бонуса там же - 12 лучших быстрых трюков из серии "wow-effect" для моментального очарования коллег и начальства:
Распечатайте и повесьте над столом - результат гарантирую ;)
Ссылки по теме
Узнал много нового.
До сих пор добавлял столбцы\строки\листы вручную
Оказалось, для этого есть горячие клавиши.
Переключите язык по умолчанию на английский (правой кнопкой мыши по языковой панели - Параметры) и перезапустите Excel.
То же самое, что и в комментарии выше. Некоторые сочетания работают только для "родного" для Excel английского языка. Переключите язык по умолчанию на английский (правой кнопкой мыши по языковой панели - Параметры) и перезапустите Excel.
Просто потрясающие подсказки! Спасибо!
Не за что - пользуйтесь
Николай, а не подскажете клавиши для запуска Сводной таблицы (Вставка/Сводная таблица) ?
Где-то в хелпах находил комбинацию Alt + D + P, но она у меня не срабатывает.
Тонкость с переключением на инглиш и перезапуском Экселя (о чем речь шла выше) - учёл.
На русском Office 2010 это ALT, C, B, B (русские буквы).
В общем случае, жмите на клавиатуре ALT и смотрите на ленту - появятся подсказки. Для перехода на вкладку Вставка , например, нужно будет нажать С. Как только нажмете - покажет подсказки для каждой кнопки на вкладке на следующем шаге.
Добрый день.
Не подскажете как можно выбрать функцию из выпадающего списка, при вводе ее в ячейку?Например, я начинаю писать "=ср. ", зная, что функция вычисления среднего значения начинается со "ср. ". Соответственно, появляется список, но как из него выбрать нужную мне без использования мыши?
Спасибо.
Tab
Николай,подскажите пожалуйста, как отключить горячие клавиши в Excel 2013 и если вас не затруднит ответить ещё на один вопрос - можно ли добавить слово,что бы я повторно не вводила несколько раз?
Добрый день!
Отличная табличка. Скажите, пожалуйста, есть ли аналог для Microsoft Excel 2011 for Mac?
Заранее спасибо
Николай, добрый день!
Подскажите, как можно использовать клавишу F4 для абсолютной фиксации ячеек с установленной Windows 8? После нажатия клавиши выпадает Поисковик. Я уже добавил знак $ на панель быстрого доступа и вставляю его в ячейку "вручную". Может есть другое решение?
Windows 8 тут не причем, у меня с ней все отлично работает. Скорее всего дело в драйвере клавиатуры или специальных программах, которые вешают на функциональные клавиши дополнительные функции.
Николай, добрый день. У меня MS для дома и учебы 2013.
Не работают сокращения Ctrl+' и Ctrl+Shift+"
Что-то можете подсказать?
Но позвольте, это же одна и та же кнопка на клавиатуре.
В чем секрет? ))
Во всех конфликтных случаях у меня работает только одно сочетание из описанных.
Добрый день! Почему может не работать клавиша F4 когда хочу установить абсолютную или относительную ссылку? Делала как и всегда, много лет. Но сейчас новый компьютер, тут не получается. Может что-то с параметрами Эксель?
Нина, на некоторых клавиатурах верхний ряд клавиш иногда по-умолчанию работает в другом режиме (громкость, яркость и т.д.). Поищите клавишу Fn и попробуйте с ней вместе нажать F4 .
Спасибо, Николай! Вы мне ооочень помогли. Так и есть Fn+F4 и получается. А я думала, что в экселе какой-то настройки не хватает
CTRL + SHIFT + 6 - вставить текущее время
CTRL + SHIFT + 2 - копирование текста из ячейки сверху
кнопка WIN + M - сворачивает все окна
кнопка WIN + D - сворачивает все окна
кнопка WIN + стрелки - уменьшает/увеличивает размер активного окна
При написании формул часто нужны значки, находящиеся то в кириллице, то в латинице (на левой цифровой клавиатуре):
При этом в Excel сохраняется только часть каждого из них, которая содержит данные или форматирование. Пустые ячейки могут содержать форматирование, из-за котором последняя ячейка в строке или столбце выпадет за пределы диапазона ячеек, содержащих данные. В результате размер файла книги будет больше, чем требуется, и при печати книги на печать может потребоваться больше страниц.
Чтобы избежать этих проблем, можно найти последнюю ячейку с данными или форматированием на нем, а затем сбросить эту последнюю ячейку, сбросить все форматирование, которое может быть применено в пустых строках или столбцах между данными и последней ячейкой.
Поиск последней ячейки с данными или форматированием на нем
Чтобы найти последнюю ячейку с данными или форматированием, щелкните в любом месте на нем и нажмите CTRL+END.
Примечание: Чтобы выбрать последнюю ячейку в строке или столбце, нажмите клавишу END, а затем клавишу СТРЕЛКА ВПРАВО или СТРЕЛКА ВНИЗ.
Очистка всего форматирования между последней ячейкой и данными
Выполните одно из указанных ниже действий.
Чтобы выбрать все столбцы справа от последнего столбца с данными, щелкните первый заголовок столбца, нажмите и удерживайте нажатой кнопку CTRL, а затем щелкните заголовки столбцов, которые нужно выбрать.
Совет: Можно также щелкнуть первый заголовок столбца и нажать CTRL+SHIFT+END.
Чтобы выбрать все строки под последней строкой с данными, щелкните заголовок первой строки, нажмите и удерживайте нажатой кнопку CTRL, а затем щелкните заголовки строк, которые нужно выбрать.
Совет: Можно также щелкнуть заголовок первой строки и нажать CTRL+SHIFT+END.
На вкладке Главная в группе Редактирование щелкните стрелку рядом с кнопкой Очистить и выберите очистить все.
При повторном открыть книгу последняя ячейка данных должна быть последней ячейкой на этом сайте.
Дополнительные сведения
Вы всегда можете задать вопрос специалисту Excel Tech Community или попросить помощи в сообществе Answers community.
Excel for Microsoft 365 Excel for Microsoft 365 for Mac Excel for the web Excel 2021 Excel 2021 for Mac Excel 2019 Excel 2019 for Mac Excel 2016 Excel 2016 for Mac Excel 2013 Excel for iPad Excel for iPhone Excel for Android tablets Excel 2010 Excel 2007 Excel for Mac 2011 Excel for Android phones Excel Mobile More. Less
Many users find that using an external keyboard with keyboard shortcuts for Excel helps them work more efficiently. For users with mobility or vision disabilities, keyboard shortcuts can be easier than using the touchscreen, and are an essential alternative to using a mouse.
The shortcuts in this topic refer to the US keyboard layout. Keys for other layouts might not correspond exactly to the keys on a US keyboard.
A plus sign (+) in a shortcut means that you need to press multiple keys at the same time.
A comma sign (,) in a shortcut means that you need to press multiple keys in order.
This article describes the keyboard shortcuts, function keys, and some other common shortcut keys in Excel for Windows.
To quickly find a shortcut in this article, you can use the Search. Press Ctrl+F, and then type your search words.
If an action that you use often does not have a shortcut key, you can record a macro to create one. For instructions, go to Automate tasks with the Macro Recorder.
Download our 50 time-saving Excel shortcuts quick tips guide.
Get the Excel 2016 keyboard shortcuts in a Word document: Excel keyboard shortcuts and function keys.
In this topic
Frequently used shortcuts
This table lists the most frequently used shortcuts in Excel.
Close a workbook.
Open a workbook.
Go to the Home tab.
Save a workbook.
Undo recent action.
Remove cell contents.
Choose a fill color.
Go to the Insert tab.
Apply bold formatting.
Center align cell contents.
Go to the Page Layout tab.
Go to the Data tab.
Go to the View tab.
Open the context menu.
Windows Menu key
Go to the Formula tab.
Hide the selected rows.
Hide the selected columns.
Ribbon keyboard shortcuts
The ribbon groups related options on tabs. For example, on the Home tab, the Number group includes the Number Format option. Press the Alt key to display the ribbon shortcuts, called Key Tips, as letters in small images next to the tabs and options as shown in the image below.
You can combine the Key Tips letters with the Alt key to make shortcuts called Access Keys for the ribbon options. For example, press Alt+H to open the Home tab, and Alt+Q to move to the Tell me or Search field. Press Alt again to see KeyTips for the options for the selected tab.
Depending on the version of Office you are using, the Search text field at the top of the app window might be called Tell Me instead. Both offer a largely similar experience, but some options and search results can vary.
In Office 2013 and Office 2010, most of the old Alt key menu shortcuts still work, too. However, you need to know the full shortcut. For example, press Alt, and then press one of the old menu keys, for example, E (Edit), V (View), I (Insert), and so on. A notification pops up saying you're using an access key from an earlier version of Microsoft Office. If you know the entire key sequence, go ahead, and use it. If you don't know the sequence, press Esc and use Key Tips instead.
Use the Access keys for ribbon tabs
To go directly to a tab on the ribbon, press one of the following access keys. Additional tabs might appear depending on your selection in the worksheet.
Move to the Tell me or Search field on the ribbon and type a search term for assistance or Help content.
Alt+Q, then enter the search term.
Open the File menu.
Open the Home tab and format text and numbers and use the Find tool.
Open the Insert tab and insert PivotTables, charts, add-ins, Sparklines, pictures, shapes, headers, or text boxes.
Open the Page Layout tab and work with themes, page setup, scale, and alignment.
Open the Formulas tab and insert, trace, and customize functions and calculations.
Open the Data tab and connect to, sort, filter, analyze, and work with data.
Open the Review tab and check spelling, add notes and threaded comments, and protect sheets and workbooks.
Open the View tab and preview page breaks and layouts, show and hide gridlines and headings, set zoom magnification, manage windows and panes, and view macros.
Work in the ribbon with the keyboard
Select the active tab on the ribbon and activate the access keys.
Alt or F10. To move to a different tab, use access keys or the arrow keys.
Move the focus to commands on the ribbon.
Tab key or Shift+Tab
Move down, up, left, or right, respectively, among the items on the ribbon.
Show the tooltip for the ribbon element currently in focus.
Activate a selected button.
Spacebar or Enter
Open the list for a selected command.
Open the menu for a selected button.
Alt+Down arrow key
When a menu or submenu is open, move to the next command.
Expand or collapse the ribbon.
Open a context menu.
Or, on a Windows keyboard, the Windows Menu key (usually between the Alt Gr and right Ctrl keys)
Move to the submenu when a main menu is open or selected.
Move from one group of controls to another.
Ctrl+Left or Right arrow key
Keyboard shortcuts for navigating in cells
Move to the previous cell in a worksheet or the previous option in a dialog box.
Move one cell up in a worksheet.
Move one cell down in a worksheet.
Move one cell left in a worksheet.
Move one cell right in a worksheet.
Right arrow key
Move to the edge of the current data region in a worksheet.
Enter the End mode, move to the next nonblank cell in the same column or row as the active cell, and turn off End mode. If the cells are blank, move to the last cell in the row or column.
Move to the last cell on a worksheet, to the lowest used row of the rightmost used column.
Extend the selection of cells to the last used cell on the worksheet (lower-right corner).
Move to the cell in the upper-left corner of the window when Scroll lock is turned on.
Move to the beginning of a worksheet.
Move one screen down in a worksheet.
Move to the next sheet in a workbook.
Move one screen to the right in a worksheet.
Move one screen up in a worksheet.
Move one screen to the left in a worksheet.
Move to the previous sheet in a workbook.
Move one cell to the right in a worksheet. Or, in a protected worksheet, move between unlocked cells.
Open the list of validation choices on a cell that has data validation option applied to it.
Alt+Down arrow key
Cycle through floating shapes, such as text boxes or images.
Ctrl+Alt+5, then the Tab key repeatedly
Exit the floating shape navigation and return to the normal navigation.
Ctrl+Shift, then scroll your mouse wheel up to go left, down to go right
Keyboard shortcuts for formatting cells
Open the Format Cells dialog box.
Format fonts in the Format Cells dialog box.
Ctrl+Shift+F or Ctrl+Shift+P
Edit the active cell and put the insertion point at the end of its contents. Or, if editing is turned off for the cell, move the insertion point into the formula bar. If editing a formula, toggle Point mode off or on so you can use the arrow keys to create a reference.
Open and edit a cell note.
Insert a threaded comment.
Open and reply to a threaded comment.
Open the Insert dialog box to insert blank cells.
Open the Delete dialog box to delete selected cells.
Enter the current time.
Enter the current date.
Switch between displaying cell values or formulas in the worksheet.
Copy a formula from the cell above the active cell into the cell or the formula bar.
Move the selected cells.
Copy the selected cells.
Paste content at the insertion point, replacing any selection.
Open the Paste Special dialog box.
Italicize text or remove italic formatting.
Bold text or remove bold formatting.
Underline text or remove underline.
Apply or remove strikethrough formatting.
Switch between hiding objects, displaying objects, and displaying placeholders for objects.
Apply an outline border to the selected cells.
Remove the outline border from the selected cells.
Display or hide the outline symbols.
Use the Fill Down command to copy the contents and format of the topmost cell of a selected range into the cells below.
Apply the General number format.
Apply the Currency format with two decimal places (negative numbers in parentheses).
Apply the Percentage format with no decimal places.
Apply the Scientific number format with two decimal places.
Apply the Date format with the day, month, and year.
Apply the Time format with the hour and minute, and AM or PM.
Apply the Number format with two decimal places, thousands separator, and minus sign (-) for negative values.
Open the Insert hyperlink dialog box.
Check spelling in the active worksheet or selected range.
Display the Quick Analysis options for selected cells that contain data.
Display the Create Table dialog box.
Open the Workbook Statistics dialog box.
Keyboard shortcuts in the Paste Special dialog box in Excel 2013
In Excel 2013, you can paste a specific aspect of the copied data like its formatting or value using the Paste Special options. After you’ve copied the data, press Ctrl+Alt+V, or Alt+E+S to open the Paste Special dialog box.
Tip: You can also select Home > Paste > Paste Special.
To pick an option in the dialog box, press the underlined letter for that option. For example, press the letter C to pick the Comments option.
Paste all cell contents and formatting.
Paste only the formulas as entered in the formula bar.
Paste only the values (not the formulas).
Paste only the copied formatting.
Paste only comments and notes attached to the cell.
Paste only the data validation settings from copied cells.
Paste all cell contents and formatting from copied cells.
Paste all cell contents without borders.
Paste only column widths from copied cells.
Paste only formulas and number formats from copied cells.
Paste only the values (not formulas) and number formats from copied cells.
Keyboard shortcuts for making selections and performing actions
Select the entire worksheet.
Ctrl+A or Ctrl+Shift+Spacebar
Select the current and next sheet in a workbook.
Select the current and previous sheet in a workbook.
Extend the selection of cells by one cell.
Extend the selection of cells to the last nonblank cell in the same column or row as the active cell, or if the next cell is blank, to the next nonblank cell.
Turn extend mode on and use the arrow keys to extend a selection. Press again to turn off.
Add a non-adjacent cell or range to a selection of cells by using the arrow keys.
Start a new line in the same cell.
Fill the selected cell range with the current entry.
Complete a cell entry and select the cell above.
Select an entire column in a worksheet.
Select an entire row in a worksheet.
Select all objects on a worksheet when an object is selected.
Extend the selection of cells to the beginning of the worksheet.
Select the current region if the worksheet contains data. Press a second time to select the current region and its summary rows. Press a third time to select the entire worksheet.
Ctrl+A or Ctrl+Shift+Spacebar
Select the current region around the active cell.
Select the first command on the menu when a menu or submenu is visible.
Repeat the last command or action, if possible.
Undo the last action.
Expand grouped rows or columns.
While hovering over the collapsed items, press and hold the Shift key and scroll down.
Collapse grouped rows or columns.
While hovering over the expanded items, press and hold the Shift key and scroll up.
Keyboard shortcuts for working with data, functions, and the formula bar
Edit the active cell and put the insertion point at the end of its contents. Or, if editing is turned off for the cell, move the insertion point into the formula bar. If editing a formula, toggle Point mode off or on so you can use the arrow keys to create a reference.
Expand or collapse the formula bar.
Cancel an entry in the cell or formula bar.
Complete an entry in the formula bar and select the cell below.
Move the cursor to the end of the text when in the formula bar.
Select all text in the formula bar from the cursor position to the end.
Calculate all worksheets in all open workbooks.
Calculate the active worksheet.
Calculate all worksheets in all open workbooks, regardless of whether they have changed since the last calculation.
Check dependent formulas, and then calculate all cells in all open workbooks, including cells not marked as needing to be calculated.
Display the menu or message for an Error Checking button.
Display the Function Arguments dialog box when the insertion point is to the right of a function name in a formula.
Insert argument names and parentheses when the insertion point is to the right of a function name in a formula.
Insert the AutoSum formula
Invoke Flash Fill to automatically recognize patterns in adjacent columns and fill the current column
Cycle through all combinations of absolute and relative references in a formula if a cell reference or range is selected.
Insert a function.
Copy the value from the cell above the active cell into the cell or the formula bar.
Ctrl+Shift+Straight quotation mark (")
Create an embedded chart of the data in the current range.
Create a chart of the data in the current range in a separate Chart sheet.
Define a name to use in references.
Paste a name from the Paste Name dialog box (if names have been defined in the workbook).
Move to the first field in the next record of a data form.
Create, run, edit, or delete a macro.
Open the Microsoft Visual Basic For Applications Editor.
Keyboard shortcuts for refreshing external data
Use the following keys to refresh data from external data sources.
Stop a refresh operation.
Refresh data in the current worksheet.
Refresh all data in the workbook.
Power Pivot keyboard shortcuts
Use the following keyboard shortcuts with Power Pivot in Microsoft 365, Excel 2019, Excel 2016, and Excel 2013.
Читайте также: