Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I put a value from a vb variable into an Excel 2000 cell? I have read
the help file and various forums, but cant get anything but #Value!! |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
assuming we're talking vba within excel ... and with your variable called myvariable then Range("A1").value = myvariable where A1 is the cell you want to put it in to. you could further qualify it using the sheet name, e.g. Sheets("Sheet1").Range("A1").value = myvariable Hope this helps Cheers JulieD "mgade" wrote in message ... How do I put a value from a vb variable into an Excel 2000 cell? I have read the help file and various forums, but cant get anything but #Value!! |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
sheets("Sheet1").range("A1").value = myVariable
or something like that... "mgade" wrote: How do I put a value from a vb variable into an Excel 2000 cell? I have read the help file and various forums, but cant get anything but #Value!! |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing Options | Excel Discussion (Misc queries) | |||
Code to copy the formulae of one cell to all the cell in the rangewith the specific cell and columnnumber changing | Excel Discussion (Misc queries) | |||
Populate a cell if values in cell 1 and cell 2 match cell 3 and 4 | Excel Worksheet Functions | |||
How to create/run "cell A equals Cell B put Cell C info in Cell D | Excel Discussion (Misc queries) | |||
Question: Cell formula or macro to write result of one cell to another cell | Excel Programming |