title: Get the column of a user selected cell using vba excel
body: <p>Refer to this question: <a href="https://stackoverflow.com/questions/7353711/let-the-user-click-on-the-cells-as-their-input-for-an-excel-inputbox-using-vba">Let the user click on the cells as their input for an Excel InputBox using VBA</a>.
  I use this line of code <code>Set rng = Application.InputBox(Prompt:="Select the cell you want to edit.", Title:="CELL TO EDIT", Type:=8)</code> to ask the user to select a cell. If the cell that is selected is in column G then I will need to call a subroutine. So, I need to figure out what column the selected cell is in.</p>
  
  <p>Thanks for the help!</p>