Any suggestions ?

helplessnoobatexcel

New Member
Joined
Dec 15, 2023
Messages
45
Office Version
  1. 365
Platform
  1. Windows
I have been tasked to think of a solution to help create a troubleshooting guide for users to refer when they encounter difficulties. There would be roughly a set of 20 questions that they would have to answer, with the starting questions being either a 'yes' or 'no' before progressing to other questions (broader ones, not really yes or no) based on their answers. Example: 1st Question: Did you try restarting your computer? If the answer the user input is No, then it would simply display the message of: try restarting your computer then and automatically end. If the answer the user input is Yes, then it would link to another question of: Have you sought technical support yet ?

Any ideas on how I can implement this on Excel ? I initially thought of using a flow chart but there is too many questions with the latter being broad questions so I would like a neater way to present it. Another solution I have is to create a table of questions of excel, which the user would input their values of either yes or no and based on their answers, it would act accordingly to open a new sheet to provide further answers but I'm not really sure how to implement it.. Any suggestions or help would be greatly appreciated!
 

Excel Facts

Can you AutoAverage in Excel?
There is a drop-down next to the AutoSum symbol. Open the drop-down to choose AVERAGE, COUNT, MAX, or MIN
VBA Code:
Sub Team1()

 Dim msg As String, i As Long, a As Variant
    msg = ""
    
    For i = 1 To 2
        For Each a In Array("AC")
            msg = msg & Cells(i, a).Value & vbTab
        Next a
        msg = msg & vbCrLf
    Next i
    
    For i = 1 To 10
        For Each a In Array("U", "V")
            msg = msg & Cells(i, a).Value & vbTab
        Next a
        msg = msg & vbCrLf
    Next i
    
     For i = 1 To 10
        For Each a In Array("W", "X")
            msg = msg & Cells(i, a).Value & vbTab
        Next a
        msg = msg & vbCrLf
    Next i
    
    For i = 1 To 10
        For Each a In Array("Y", "Z")
            msg = msg & Cells(i, a).Value & vbTab
        Next a
        msg = msg & vbCrLf
    Next i
    
    For i = 1 To 10
        For Each a In Array("AA", "AB")
            msg = msg & Cells(i, a).Value & vbTab
        Next a
        msg = msg & vbCrLf
    Next i
    MsgBox msg, , "Staff Information"
    
  
  
    
    
    
End Sub
 
Upvote 0
Upvote 0
VBA Code:
Sub Team1()

 Dim msg As String, i As Long, a As Variant
    msg = ""
   
    For i = 1 To 2
        For Each a In Array("AC")
            msg = msg & Cells(i, a).Value & vbTab
        Next a
        msg = msg & vbCrLf
    Next i
   
    For i = 1 To 10
        For Each a In Array("U", "V")
            msg = msg & Cells(i, a).Value & vbTab
        Next a
        msg = msg & vbCrLf
    Next i
   
     For i = 1 To 10
        For Each a In Array("W", "X")
            msg = msg & Cells(i, a).Value & vbTab
        Next a
        msg = msg & vbCrLf
    Next i
   
    For i = 1 To 10
        For Each a In Array("Y", "Z")
            msg = msg & Cells(i, a).Value & vbTab
        Next a
        msg = msg & vbCrLf
    Next i
   
    For i = 1 To 10
        For Each a In Array("AA", "AB")
            msg = msg & Cells(i, a).Value & vbTab
        Next a
        msg = msg & vbCrLf
    Next i
    MsgBox msg, , "Staff Information"
   
 
 
   
   
   
End Sub
Hi Logit,
May I know what is this VBA code for?
 
Upvote 0
These are examples using the Message Box from which you can create a selection for the user of Yes and No. You can also, with modification, edit the YES and NO to something else dependent upon your desire. You will need to study the code and see how you can implement the code into your project.
 
Upvote 0

Forum statistics

Threads
1,223,228
Messages
6,170,874
Members
452,363
Latest member
merico17

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