Search : in
By :

Select a subset of cells within a row

Last answer on Sep 8, 2008 8:41:13 am BST Mario, on Sep 5, 2008 2:46:28 pm BST 
 Report this message to moderators

Hello,

I am trying to select a number of cells within a row - I want to use this in a macro.
Whatever cell is currently active, I want to select cells from column B to Column M in the current row.

Thanks, M

Configuration: Windows XP
Internet Explorer 6.0

Best answers for « Select a subset of cells within a row » in :
[VBA] Deleting a word in a range of cell Show[VBA] Deleting a word in a range of cell In the case you want to delete a word in a sentence, just create a small macro that removes the word. But it will become difficult when you have word like, for example, "Theword" or "THEWORD" or...
How to freeze a row in an excel sheet ShowHow to freeze a row in an excel sheet To freeze a line in an excel sheet, for example line 1: Select line 2. Go to menu Windowť and select Freeze panesť.
Excel tips : How to insert date In an Excel cell ShowExcel tips : How to insert date In an Excel cell Below are some tips on how to insert date and time in an excel cell for a specific purpose:- To insert current date, press “CTRL”+ “;” in the chosen cell. To insert current...
Spreadsheets - Cell Selection ShowCell Selection Spreadsheets are powerful tools for working with data. However, to work with data, it is necessary to have tools to rapidly choose the required cells. Line Selection An entire line can be chosen by clicking directly on the line...
Worksheet - Cells ShowThe Concept of a Cell A "cell" is the intersection between a line (horizontal) and a column (vertical) on a worksheet. Thus, the name of the line combined with the name of the column gives the cell's coordinates (the term address is sometimes also...
Substitution cipher ShowSubstitution cipher Substitution cipher involves replacing one or more entities (generally letters) in a message with one or more other entities. There are several types of substitution cryptosystems: Monoalphabetic substitution involves...

Ivan-hoe, on Sep 7, 2008 6:46:18 am BST
  • +1

With ActiveCell
    Range(Cells(.Row, "B"), Cells(.Row, "M")).Select
End With

Reply to Ivan-hoe

2

 Mario, on Sep 8, 2008 8:41:13 am BST

Thanks very much.

You suggestion is "Spot On".

Reply to Mario