Quantcast
Channel: Automate Excel » cell
Browsing all 6 articles
Browse latest View live

VBA: Get the active cell’s Row

If you need to get the active cell’s row from VBA, this should do it! Put this in a module: Sub MyActiveRow() MsgBox Activecell.Row End Sub

View Article



VBA: Get the active cell’s Column

If you need to get the active cell’s column from VBA, this should do it! Put this in a module: Public Sub ActiveColumn() MsgBox ActiveCell.Column End Sub

View Article

Count Characters in a Cell

To count the total characters (including spaces) in cell A1: =len(A1) To count the total characters (not including spaces) in cell A1: =LEN(SUBSTITUTE(A1," ","")) To count the total specific characters...

View Article

How to Create and Display a Chart in a cell

This is a simple tutorial on how to create and display a bar chart in a cell; a technique that works very well when creating management reports. Steps: 1. In column A enter the values you want to...

View Article

Create an In Cell Chart Using VBA

The following tutorial will describe how to create a chart in a cell like the one displayed in the table above under the “Trend” column. The chart is created using a function called “CellChart”. You...

View Article


VBA Routine to return Column Letter of Cell

The standard Excel “Column” Function returns the number rather than the letter of the column e.g: Column(E4) – returns the number 5 rather than the letter E Column(AD12) returns the number 30 rather...

View Article
Browsing all 6 articles
Browse latest View live




Latest Images