Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
How can I return a Cell reference to a variable.
Hi, it's possible in several ways. I use the following method :
Dim rngCurrent as Range Set rngCurrent = Selection then you can format this range like this : rngCurrent.Font.Size = 8 But if you put this code in selection change event and make a drop'n drag, selection will change and probably you'll create an error. --- Message posted from http://www.ExcelForum.com/ |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using variable for cell reference | Excel Discussion (Misc queries) | |||
vba variable value via cell reference | Excel Discussion (Misc queries) | |||
Variable Cell Reference | Excel Worksheet Functions | |||
problem with cell reference in =sum(offset(cell reference,x,y,z,a)). Want cell ref to be variable. | Excel Worksheet Functions | |||
Problem with =sum(offset(cell reference,w,x,y,z). I want cell reference to be variable | Excel Worksheet Functions |