calendar

bam12

Well-known Member
Joined
Dec 6, 2004
Messages
985
I have read all the things and sites on calendar popup for a cell. My question is: Can it be put into more then one cell? I have 6 cell
s that need the calendar popup.
 

Excel Facts

When did Power Query debut in Excel?
Although it was an add-in in Excel 2010 & Excel 2013, Power Query became a part of Excel in 2016, in Data, Get & Transform Data.
Hello!

seems like you have some code working for one cell
please provide the code you're currently using

kind regards,
Erik
 
Upvote 0
no code yet

no code yet, have looked on forum and found a lot of help with it. Dont remeber the site but there is one that leads you thru making the calendar and other stuff. I dont think it ever said if could be used for multiple cells.
 
Upvote 0
here is an example of how you can have popup in just 6 cells

Code:
Option Explicit

Private Sub Worksheet_SelectionChange(ByVal Target As Range)
If Target.Count > 1 Or Intersect(Target, Range("A5,A10,B3:B6")) Is Nothing Then Exit Sub
popup_calendar
End Sub

Private Sub popup_calendar()
MsgBox "popup", 0, ""
End Sub
TO INSTALL IN SHEET CODE WINDOW:
1. right click the "Name Tab" of sheet you want code to work in
2. Select "View Code" in drop down menu
3. VBE window will open ... paste code in and exit VBE


just paste the popupcode in the second module

best regards,
Erik
 
Upvote 0

Forum statistics

Threads
1,226,504
Messages
6,191,431
Members
453,657
Latest member
DukeJester

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top