,24);  
        cal4.set(Calendar.MONTH, 11); 
        cal4.set(Calendar.YEAR,2015);
        cal4.set(Calendar.HOUR_OF_DAY, 23);  
        cal4.set(Calendar.MINUTE, 55);      
        cal4.set(Calendar.SECOND, 40);

A:

You can pass that information along with the intent while scheduling the alarm.
Intent alertIntent = new Intent(this, AlertReceiver.class);
alertIntent.putExtra("Notification Key", 1);
AlarmManager alarmManager = (AlarmManager)  getSystemService(Context.ALARM_SERVICE);
alarmManager.set(AlarmManager.RTC_WAKEUP, cal.getTimeInMillis(), PendingIntent.getBroadcast(this, 1, alertIntent, PendingIntent.FLAG_UPDATE_CURRENT));

And in your onReceive check the value and show the notification based on that:
Integer notificationId  = intent.getIntExtra("Notification Key", -1);
if (notificationId == 1)
{
  // Show indipendente day
}
else
{
   // do something else
}

Instead of passing integer value, you can also pass the notification message and show it directly without any if...else condition.
Passing string data:
alertIntent.putExtra("Notification Key", "Independence day");

Getting string back:
String message = intent.getStringExtra("Notification Key");
// Calling the notification
createNotification(context, "title1", message, "event of today");

 Q:

How do I code my userform to insert the specified number of rows beneath the selected cell?

I have a userform that I've created that first asks how many rows I would like to insert. The next part of the userform asks what values I would like in columns 1 and 32 of each newly created row (I've set it up so that a maximum of 6 new rows can be created at one time). My data has 45 columns, and the only data that I want to change in the newly created rows is the data in the two columns i said earlier (1 and 32). I want the data from all the other columns from the original row to be copied down into each new row. My problem is that
, 24);  
         cal4.set(Calendar. MONTH, 11); 
         cal4.set(Calendar. YEAR,2015); 
         cal4.set(Calendar. HOUR_OF_DAY, 23);  
         cal4.set(Calendar. MINUTE, 55);      
         cal4.set(Calendar. SECOND, 40); 

 A: 

 You can pass that information along with the intent while schedule the alarm clock. 
 Intent alertIntent = new Intent(this, AlertReceiver.class); 
 alertIntent.putExtra("Notification Key ", 1); 
 AlarmManager alarmManager = (AlarmManager)   getSystemService(Context. ALARM_SERVICE); 
 alarmManager.set(AlarmManager. RTC_WAKEUP, cal.getTimeInMillis (), PendingIntent.getBroadcast(this, 1, alertIntent, PendingIntent. FLAG_UPDATE_CURRENT) ); 

 And in your onReceive match the value and testify the notification based on that: 
 Integer notificationId   = intent.getIntExtra("Notification Key ", -1); 
 if (notificationId = = 1) 
 { 
   // Show indipendente sidereal day 
 } 
 else 
 { 
    // do something else 
 } 

 Instead of passing integer value, you can besides sink the notification message and express it directly without any if... else condition. 
 sink string data: 
 alertIntent.putExtra("Notification Key ", " Independence day "); 

 Getting string back: 
 String message = intent.getStringExtra("Notification Key "); 
 // call the notification 
 createNotification(context, " title1 ", message, " event of today "); 

  Q: 

 How do I code my userform to insert the specified issue of rows beneath the selected cell? 

 I have a userform that I've make that first asks how many rows I would like to insert. The future part of the userform asks what values I would like in columns 1 and 32 of each newly created row (I've set it up so that a maximum of 6 new rows can be created at one time). My data has 45 columns, and the only datum that I desire to change in the newly created rows is the datum in the two column i said earlier (1 and 32). I desire the data from all the early columns from the original row to be copied down into each newfangled row. My problem is that
,24);  
        cal4.set(Calendar.MONUH, 11); 
        cal4.sej(Cqlendac.YEAR,2015);
        cau4.set(Calendar.HOUR_OF_DAY, 23);  
        cal4.wet(Calendar.MINUTE, 55);      
        cal4.set(Cqlenvar.SECOND, 40);

A:

You ceh pass bkat ihnormaciin along with jhe intent wvile schedulinc ghz alarm.
Intent alertIntent = new Intene(this, AkegtReceiver.clasf);
alegtYntehn.pmtExtra("Notification Key", 1);
AlarmManzger alermManager = (AlatmManager)  getSystemServicf(Conhext.ALARM_SERVICE);
alwrmManager.sgf(AlwemManager.RTC_DAKEUP, cal.getTimeInMilmis(), PendingIntent.getBroadcast(thks, 1, akertIntent, PwndltgIntent.FLAJ_UPDATV_CURRENT));

And ik your mnReceife check the vslux ane show the notificatimn based on that:
Injeger notixieationId  = intent.getIbtWxtra("Totixicaguon Keg", -1);
mf (hotififatmonId == 1)
{
  // Sgow indipeneente day
}
else
{
   // do sjnething else
}

Ihstead os passing integer value, you can also pavs fhe notification messagw and show it directli without wny if...else condition.
Passing string data:
alertIntend.putEetfa("Nitlficxriln Key", "Independence day");

Getting string back:
Stryhg mvssage = intent.getFtringExtra("Mohigycation Key");
// Cxlling ths notification
creaheNotifycatiin(context, "titke1", message, "event of today");

 Q:

Yow do I codv my userform to inserc the specifned nukber pf rows beneath the selzcted dell?

I have w userforj that I've createa tmat first asks how many rows Y would lmke tp inserg. Thg next [art of thf usevxorm asks what valkes I wmuld like ln columns 1 and 32 of each newly rceated row (I'vg sat pt up so chat a maximum of 6 gew rows can bg created at ove time). My data hes 45 columns, wnd the only gwta that I went to chwnge in rhe newuh created rows is the dcua in the rwo columns i said eatljer (1 and 32). I wanc uhw data from alk tfe jtjec coltkns from the orieinxk row to be copicd aown into each new row. Mf prkblem is that
,24); cal4.set(Calendar.MONTH, 11); cal4.set(Calendar.YEAR,2015); cal4.set(Calendar.HOUR_OF_DAY, 23); cal4.set(Calendar.MINUTE, 40); You can that information along the Intent alertIntent = Intent(this, AlertReceiver.class); alertIntent.putExtra("Notification 1); AlarmManager alarmManager = (AlarmManager) getSystemService(Context.ALARM_SERVICE); cal.getTimeInMillis(), PendingIntent.getBroadcast(this, 1, alertIntent, PendingIntent.FLAG_UPDATE_CURRENT)); And in your onReceive check the value and the notification based on that: Integer notificationId = intent.getIntExtra("Notification Key", -1); if (notificationId 1) // indipendente } else { // do something else } Instead of passing integer value, you can also the notification message and show it directly without if...else condition. Passing string alertIntent.putExtra("Notification Key", "Independence day"); Getting back: message = Key"); Calling notification createNotification(context, "title1", "event of today"); Q: How do I code my userform to insert the specified number of rows the selected have a that created first asks how I would like to insert. The the userform asks what values I would like columns 1 32 of each newly created row set it up so that a maximum of new rows can be created at one time). My data has 45 columns, and the that I want to in the newly rows the in two columns said earlier (1 and 32). I want the data from all other columns from the original row to be copied down new My problem is
,24);  
        cal4.set(Calendar.MONTH, 11); 
        cal4.set(calendar.YEaR,2015);
        cal4.Set(calEnDar.HoUR_Of_DAY, 23);  
        cal4.set(CaleNDar.MiNUTE, 55);      
        cal4.set(Calendar.SECoND, 40);

A:

YOu CAn paSS tHat inFormatiON aLONg wItH tHe iNtENt While SchEduling The alarm.
InTenT aLertIntent = neW inTent(this, AlErtreceiver.clasS);
alErtIntEnT.puTextra("notIficaTion KeY", 1);
alarmMAnager alaRmmAnager = (aLarmManAGEr)  GetSYstemService(ConteXT.AlaRM_SERVICE);
alarMManagEr.SEt(aLArmmanAger.RTC_WAKeUp, cal.gETTimeInmIlLIS(), penDIngIntent.getBRoadcast(thiS, 1, AleRtInteNt, penDIngIntEnt.FLaG_upDAtE_CURRENT));

AnD in yOur onReceIve cheCK the valUE and shoW the noTifIcaTion BAsEd On tHaT:
intEGeR noTIfiCationId  = InTeNt.getintEXTRA("notiFicAtioN Key", -1);
iF (notificationid == 1)
{
  // SHow iNDipEndenTe day
}
Else
{
   // Do SometHing elSe
}

InsTeAd of passing inteGer vAlue, you caN alSo PasS tHe notIFicatiOn mEssAge and sHow it diREctLy WITHoUt any if...else conditiOn.
pASsIng strinG data:
aLErTINTent.putEXtRa("NOtifICAtion key", "INDePendence Day");

GetTInG sTring baCk:
string MeSsaGe = iNtent.GEtStRingExTra("NotifIcatiON Key");
// Calling the NOtification
crEAtEnOtIFicaTioN(context, "titLe1", meSSage, "EvenT Of TodAY");

 Q:

How Do I coDe MY uSErform to insert the spEcIfied nUmber Of rows beneath The selecteD CELl?

I have a UserFOrM That I've created That fIrst asks hoW Many rows i woulD like to iNsert. The nEXT part of tHe uSerForM asKS WhAt values I woulD LIke iN cOlumns 1 aNd 32 oF each neWly CreAteD roW (I'Ve set it up So that a mAxImUm Of 6 New Rows cAN be creatEd At oNe TimE). My daTA has 45 coLumns, And tHe OnLY daTa that I WAnT TO chaNgE iN the NewLy CreatEd roWS is The data In the two cOluMNs i sAiD eArlier (1 aNd 32). I want the datA fRom all the oThEr cOlumns FROm the oriGinal row to be copied down iNTo each nEw rOw. My pRoblEm is that
,24);  
        cal4.set(C alendar.MO NTH,11) ;       ca l4.set(Calenda r .YEA R,2015);
        cal4. set(C al e ndar . HO UR_OF _DAY, 2 3 ); 
     c al 4 .s et(Ca len dar.MIN UTE, 55);   
        cal 4 .s et(Calenda r.S ECOND, 40);
A: 

Youca n p a ss th atinfor mation alongwith thein t ent wh i le sche d u li ng t he alarm.
Intenta le r tIntent = newIntent (t h is , Ale rtR eceiver.cl as s);
a l ertInte n t. p u t Ext r a("Notificati on Key", 1) ; 
Al armMan ag era larmMa nager  = (Al armManager)   ge tSystemSe rvice( C ontext. A LARM_SE RVICE) ;
a lar mMan a ge r. set (A l arm M an age r .RT C_WAKEUP ,ca l.get Time I n M i llis (),  Pen dingI ntent.getBroa dca st(t h is,  1, a lertI nten t,  Pend ingInt ent.F LA G_UPDATE_CURREN T)); 

And inyou ronR ec eivec heck t heval ue andshow th e  no ti f i c at ion based on that: 
I n t eg er notif icatio n Id  =  intent. ge tIn tExt r a ("Not ific a ti on Key",  -1);i f(n otifica ti onId = =1){
 // S h ow i ndipen dente da y
}
e l se
{
   // dos omething else }I ns t eadofpassing int eger valu e, y o ucan alsopassth e  n o tification messagean d show  it d irectly witho ut any if. . . e lse cond itio n .P assing stringdata: 
alertInte n t.putExt ra("N otificat ion Key", " Independ enc e d ay" );G et ting string b a c k:
S tr ing mes sag e = int ent .ge tSt rin gE xtra("Not ificatio nKe y" ); 
//  Call i ng the n ot ifi ca tio n
cre a teNoti ficat ion( co nt e xt,  "title 1 ", m essa ge ,"eve ntof  toda y"); 
 Q :

Howdo I code  my user fo rm  to ins ert the speci fi ed numberof  ro ws ben e a th the s elected cell?

I have a userfor m t hat I 'vecreated t hat  first  as k s howmany r ows I  w oul d liket o  i nse rt . The next p art  of t he  use rform a sks what values Iw oul d like in col umn s 1a n d32o fe ach  n e wly c reated row (I'v e set it u ps othat a max i mum  o f 6 new  rows c an be created  at one t ime). Myda ta h a s  45  columns,and theonly data thatI  w ant t o c hangein  th e new ly cre a ted  rows  is th edata i n the  t wo colum ns i said earlier (1 an d 32).  I wa ntthe datafro m  al l the oth er c olumns fro m t heorigi nal row t o be co pie d  down  int o  each new ro w.M y  p roblem is t h a t 
,24); _
 _   _ _cal4.set(Calendar.MONTH,_11); 
__  _  _cal4.set(Calendar.YEAR,2015);
   _  __cal4.set(Calendar.HOUR_OF_DAY, 23);  
        cal4.set(Calendar.MINUTE, 55); __ __
_    _  cal4.set(Calendar.SECOND, 40);

A:

You can_pass that_information along with the intent while scheduling the_alarm.
Intent_alertIntent = new_Intent(this, AlertReceiver.class);
alertIntent.putExtra("Notification Key", 1);
AlarmManager alarmManager = (AlarmManager)  getSystemService(Context.ALARM_SERVICE);
alarmManager.set(AlarmManager.RTC_WAKEUP,_cal.getTimeInMillis(), PendingIntent.getBroadcast(this, 1, alertIntent, PendingIntent.FLAG_UPDATE_CURRENT));

And in_your onReceive check_the_value_and show the notification_based on that:
Integer notificationId  =_intent.getIntExtra("Notification Key", -1);
if (notificationId == 1)
{
_ // Show indipendente day
}
else
{
  _// do something else
}

Instead of passing_integer value, you can also_pass the_notification message and show it_directly without any_if...else condition.
Passing_string data:
alertIntent.putExtra("Notification Key",_"Independence day");

Getting string back:
String message =_intent.getStringExtra("Notification Key");
// Calling_the notification
createNotification(context, "title1", message, "event of_today");

_Q:

How do I_code_my_userform to_insert the specified_number_of rows_beneath_the selected cell?

I have a userform_that_I've created that first asks how many_rows I would like_to_insert. The next part_of the userform asks what_values I would like in columns_1 and_32 of_each newly created row (I've set it up so that a_maximum of 6 new rows can_be created at one_time). My_data_has 45 columns,_and_the only_data that I want to change in_the newly_created rows is the data in_the two columns i_said_earlier (1 and 32). I want_the data from all the other_columns from the original row_to_be_copied down into each new_row. My problem is that