Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Let's say my CalendarControl LinkedCell is F7. My macro selects column F and
inserts a column. This makes the LinkedCell property of my Calendar go to #REF!. I would like to re-program it back to cell F7 after having inserted my column. Of course, Calendar.LinkedCell = F7 would do it, ....but I get an error message cause I cannot find the property "LinkedCell" for the Calendar object. How do I go about it ? Thanks in advance for your kind help Marc |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Maybe...
With Worksheets("Sheet1") .Calendar1.LinkedCell = .Range("F7").Address(external:=True) End With Marc Gendron wrote: Let's say my CalendarControl LinkedCell is F7. My macro selects column F and inserts a column. This makes the LinkedCell property of my Calendar go to #REF!. I would like to re-program it back to cell F7 after having inserted my column. Of course, Calendar.LinkedCell = F7 would do it, ....but I get an error message cause I cannot find the property "LinkedCell" for the Calendar object. How do I go about it ? Thanks in advance for your kind help Marc -- Dave Peterson |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Thank you Dave, works perfectly !
"Dave Peterson" wrote: Maybe... With Worksheets("Sheet1") .Calendar1.LinkedCell = .Range("F7").Address(external:=True) End With Marc Gendron wrote: Let's say my CalendarControl LinkedCell is F7. My macro selects column F and inserts a column. This makes the LinkedCell property of my Calendar go to #REF!. I would like to re-program it back to cell F7 after having inserted my column. Of course, Calendar.LinkedCell = F7 would do it, ....but I get an error message cause I cannot find the property "LinkedCell" for the Calendar object. How do I go about it ? Thanks in advance for your kind help Marc -- Dave Peterson |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Populate Cell Date Value with Active X Calendar Control | Excel Worksheet Functions | |||
Jump to cell based on cell results created by calendar control too | Excel Discussion (Misc queries) | |||
How to insert date using a pop up calendar control in a cell i | Excel Discussion (Misc queries) | |||
Calendar control on cell enter? | Excel Worksheet Functions | |||
How to insert date using a pop up calendar control in a cell i | Excel Discussion (Misc queries) |