Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hello,
I am trying to set the value of a cell to 1 using the Auto_Open Macro. the problem is that the cell i am trying to set the value to is a list. The cell is set as a list box using the data - validation -allow : list method. I am not sure how to go about setting the value of this cell to 1 everytime the excel spreadsheet is opened. Any help is greatly appreciated. Thanks Tushar |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
why not simply use worksheets("sheet1").range("A1").value=1 -- Regards Frank Kabel Frankfurt, Germany Tushar wrote: Hello, I am trying to set the value of a cell to 1 using the Auto_Open Macro. the problem is that the cell i am trying to set the value to is a list. The cell is set as a list box using the data - validation -allow : list method. I am not sure how to go about setting the value of this cell to 1 everytime the excel spreadsheet is opened. Any help is greatly appreciated. Thanks Tushar |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thanks Frank. That worked like a charm man
"Frank Kabel" wrote in message ... Hi why not simply use worksheets("sheet1").range("A1").value=1 -- Regards Frank Kabel Frankfurt, Germany Tushar wrote: Hello, I am trying to set the value of a cell to 1 using the Auto_Open Macro. the problem is that the cell i am trying to set the value to is a list. The cell is set as a list box using the data - validation -allow : list method. I am not sure how to go about setting the value of this cell to 1 everytime the excel spreadsheet is opened. Any help is greatly appreciated. Thanks Tushar |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
'IF' Macro to insert cell contents to alternate cell if cell not e | Excel Worksheet Functions | |||
using a cell value to control a counter inside a macro and displaying macro value | Excel Worksheet Functions | |||
macro to run a separate macro dependent on value in cell | Excel Programming | |||
Please help! Macro to change cell contents based on cell to the left | Excel Programming | |||
Question: Cell formula or macro to write result of one cell to another cell | Excel Programming |