Applying automatic popup calendar macro to multiple cells
Ok, so I have created a popup calendar that can be called on by clicking left in a cell and selecting "Choose a date".
Excel places the chosen date in the cell.
I would like to have the calendar pop up automatically when certain cells are selected, so
I am using this script in the worksheet:
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Address = "$E$3" Then
Call OpenCalendar
End If
End Sub
I have created the necessary reference to the OpenCalendar, and it works perfectly.
What I would like to do is apply it to a whole slew of cells, such as E3:E3000, J3:J3000, K3:K3000, L3:L3000, N3:N3000 (or E, J, K, N if its easier).
I tried changing the $E$3 to $E$3:$E$3000 but that didn't work.
Any ideas?
Solutions to the Problem Applying automatic popup calendar macro to multiple cells
Download SmartPCFixer for Free Now
HI
Try this one
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Not Intersect(ActiveCell, Range("E3:E3000,J3:J3000,L3:L3000")) Is Nothing Then
Call OpenCalendar
End If
End Sub
Cimjet
Using Windows troubleshooter:
- Click on Search on Charm bar and type Troubleshooting. Click on the very first option.
- A new window will open. Click View all from the left pane.
- Scroll down to the bottom and click on Windows update.
- Troubleshooter window for Windows update will pop up. Click on NEXT. It may ask you for administrative permission.
- The troubleshooter will automatically detect problems and fix it.
- Now, close this window and try download/install the app which was previously showing error.
Recommended Method to Repair the Problem: Applying automatic popup calendar macro to multiple cells:
How to Fix Applying automatic popup calendar macro to multiple cells with SmartPCFixer?
1. Download Error Fixer. Install it on your computer.
2. After the scan is done, you can see the errors and problems which need to be repaired.
3. The Fixing part is finished, the speed of your computer will be much higher than before and the errors have been removed.
Related: error message fsui.exe/ wlidcli.dll is missing
,Solution to Error: Excel: Automatic number generation
,Troubleshoot:i wanna change language of all windows in Windows 7 Home Premium
,Troubleshooting:IF Function, if the vendor ID in column A matches any of the vendor ID's in column F, I want 1099 to appear in column D. Error
,Fast Solution to Problem: ReadyBoost is not working properly in my computer
,Troubleshoot:Error: "0x81000032 make sure the C: drive is online and set to NTFS" when trying to backup to external hard drive. Error,External Hard Drive not listed in Windows 7 backup wizard Tech Support,Tech Support: I'm always being signed off so annoying,Solution to Problem: Impossible to use Internet Explorer! I keep getting the same error message every time i try to use IE.,Referencing data in Access using Excel [Anwsered],Need Best Way To Present Data [Anwsered],Same question but for windows 7 home edition,sometimes fullscreen won't activate [Solved],Solution to Error: We bought a new computer with windows 7 and it is constantly freezing. How do we fix this?,Solution to Error: Windows 8 update crash (2013-07-22),brclr.dll.mu_ Missing Error Fixer,How To Resolve Missing fin_myagtui.eng Problem,Corrupted f_0006ad File - How to Fix,nkebigvg.cpl Not Found Error Fixer,Corrupted olcontrols.ocx File - How to Fix
Read More: Troubleshoot:always troubleshooting network adapter to connect Error,All the viewers using Internet Explorer had experienced difficulty especially in downloading documents from by blog.How do I make Internet Explorer reader friendly on my blog? [Anwsered],Troubleshooting:Annoying window that pops up every 2 minutes since I installed a router. Error,Troubleshooter of Error: Application Compatibility Toolkit 5.5 - How-To Articles \/ Guides,Applying Restrictions to Excel editing and Saving? [Anwsered],After Windows Update CD/DVD drive does not work,After installing windows 7 to laptop the labels print out of line how can I fix it,After my computer sleeps the wireless always disconnects and will no reconnect,After signing into Pogo.com, I get a message" This tab has been recovered"....what does this mean and how do I fix it.....,All desktop icons changed to windows live and does not open
No comments:
Post a Comment