Mar 29 2021 05:30 PM
I have hidden my channels (weekly assignments) and will unhide that particular channel on the lesson date. Is there a way to set a date on the channel so it unhides on the lesson date?
Mar 29 2021 11:59 PM - edited Mar 30 2021 10:07 PM
:: Caveat :: This solution is for Excel only.
What you are trying is only possible by using VBA macro.
Private Sub Worksheet_Change(ByVal Target As Range)
Dim AssDate As Date
AssDate = Range("A1").Value
Dim Currdate As Date
Currdate = Date
If Currdate = CDate(AssDate) Then
ActiveWorkbook.Sheets(1).Visible = xlSheetVeryHidden
Else
ActiveWorkbook.Sheets(1).Visible = xlSheetVisible
End If
End Sub
How it works:
To invoke VB Editor to use this code, you will need to press Alt+F11.
N.B.
If Currdate = CDate(AssDate) Then
Mar 30 2021 09:54 AM
@John_P490Hiding the channel does not make it invisible to students. Students will see the channel under 'Hidden channels' and can view the channel at any time from their channel list even if you set it as hidden by default. There is no way to set a date to change a hidden channel to 'Show'.
A better approach for this would be to schedule the individual assignments to post at a specific future date and time. They will then appear at the set date and time in the channel and won't be visible to students beforehand even if students can see the channel. To schedule an assignment in the future, click 'Edit' just under the due date:
Then check the box to 'Schedule to assign in the future' and choose a 'Post date' and 'Post time' then click 'Done':
Mar 30 2021 09:56 AM
@Rajesh_SinhaThis looks like a good solution for Excel, but there is no way to run VBA within Teams as far as I know.
Mar 30 2021 10:02 PM
Mar 30 2021 10:04 PM
Apr 01 2021 10:23 AM
@Rajesh_SinhaTo be fair to @John_P490 the question was posted in the Microsoft Teams for Education category and referred clearly to Assignments and Channels in the original post. I'm not sure that there is more that they could have done to identify the situation where it applied.
Apr 01 2021 10:34 PM