Entering Text in the Current Cell : ActiveCell « Excel « VBA / Excel / Access / Word
VBA / Excel / Access / Word
1.
Access
2.
Application
3.
Data Type
4.
Data Type Functions
5.
Date Functions
6.
Excel
7.
File Path
8.
Forms
9.
Language Basics
10.
Math Functions
11.
Outlook
12.
PowerPoint
13.
String Functions
14.
Windows API
15.
Word
16.
XML
Java
Java Tutorial
Java Source Code / Java Documentation
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
VBA / Excel / Access / Word
»
Excel
»
ActiveCell
Entering Text in the Current Cell
Sub
MyMacro
ActiveCell.Value =
"Hello World!"
End Sub
Related examples in the same category
1.
Check the existence of ActiveCell
2.
Moves the active cell up two rows (RowOffset:=-2) and four columns to the right (ColumnOffset:=4):
3.
Take the current text value, and add the message "INVALID: " before the text
4.
Entering a Formula in a Cell
5.
Use all the ordinary numeric operators, like +, -, /, *, and ^.
6.
Moving to Other Cells
7.
Move to the new cell, you need to use the Activate or Select method
8.
Get the address of ActiveCell
9.
Activate Change
10.
Select active cell and up to the end
11.
Select ActiveCell and cells to its Right
12.
Select ActiveCell and cells to its Left
13.
Select ActiveCell's range
14.
Use ActiveCell.SpecialCells(xlLastCell)
15.
Use ActiveCell.Offset to move the curren selection
16.
Move the active cell by using ActiveCell.Offset
17.
Swap Text With Cell On Right
18.
Copy the value from the variable into the cell on the right.
19.
If the value of the active cell is too big, change it
20.
Use if, ElseIf and Else with ActiveCell
21.
Repeating Actions with a Loop
22.
Accesses the PROPER( ) function through the Application.WorksheetFunction object.
23.
Do-While loop with ActiveCell
24.
Use Do Loop While to change ActiveCell value
25.
Do-Until loop and IsEmpty
26.
a Do-Loop Until loop with IsEmpty
27.
Uses the EntireColumn property, which returns a Range object that consists of a full column:
28.
Select Current Region
29.
Select Active Column
30.
Select Active Row
31.
Activate Next Blank Down
32.
Activate Next Blank To Right
33.
Select First To Last In Row
34.
Select First To Last In Column
35.
Go to the Max
36.
Toggles text wrap alignment for selected cells
37.
Store the location of the active cell and then return it to the stored location
38.
Working with the Region around the Active Cell
www.java2java.com
|
Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.