Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
variables in last cell
this one is a little bit different this time,
i need to output a variable from vba to the next available cell in a column in my worksheet, any help would be much appreciated. thanks guys Josh |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
variables in last cell
Josh,
Cells(Rows.Count, "A").End(xlUp).Offset(1, 0).Value = myVar puts it in the next available cell in column A -- HTH ------- Bob Phillips ... looking out across Poole Harbour to the Purbecks "josh" wrote in message ... this one is a little bit different this time, i need to output a variable from vba to the next available cell in a column in my worksheet, any help would be much appreciated. thanks guys Josh |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
variables in last cell
var = 21
set rng = Cells(rows.count,1).End(xlup)(2) rng.Value = var Change the 1 in Cells( ,1) to the column where you want the value. Regards, Tom Ogilvy "josh" wrote in message ... this one is a little bit different this time, i need to output a variable from vba to the next available cell in a column in my worksheet, any help would be much appreciated. thanks guys Josh |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using variables within a formula in the same cell. | Excel Discussion (Misc queries) | |||
Need Destination cell to ref origin cell, but w/ many variables..H | Excel Worksheet Functions | |||
Using variables in a cell/formula | Excel Worksheet Functions | |||
Cell Variables and Ranges | Excel Discussion (Misc queries) | |||
cell variables in IF formula | Excel Discussion (Misc queries) |