Reference a slide in Beamer
Place a label to the frame you want to cross-reference and then use \ref
:
\documentclass[]{beamer}
\usetheme{Madrid}
\usenavigationsymbolstemplate{}
\title{Main Title}
\author{Jane Doe}
\institute{University A}
\date{\today}
\begin{document}
\begin{frame}
\titlepage % Print the title page as the first slide
\end{frame}
\begin{frame}
\frametitle{First Page}
\begin{exampleblock}{Example}
This is an example which will be used later.
\end{exampleblock}
\end{frame}
\begin{frame}[label={important}]
\frametitle{Second Page}
\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Third Page}
\begin{itemize}
\item In this slide, we are going to use the sample example on slide~\ref{important}.
\end{itemize}
\end{frame}
\end{document}
The classic command \label{}
works too.
\documentclass[]{beamer}
\usetheme{Madrid}
\usenavigationsymbolstemplate{}
\title{Main Title}
\author{Jane Doe}
\institute{University A}
\date{\today}
\begin{document}
\begin{frame}
\titlepage % Print the title page as the first slide
\end{frame}
\begin{frame}
\frametitle{First Page}
\begin{exampleblock}{Example}
This is an example which will be used later.
\end{exampleblock}
\end{frame}
\begin{frame}
\frametitle{Second Page}
\label{important}
\begin{itemize}
\item Item 1
\item Item 2
\end{itemize}
\end{frame}
\begin{frame}
\frametitle{Third Page}
\begin{itemize}
\item In this slide, we are going to use the sample example on slide~\ref{important}.
\end{itemize}
\end{frame}
\end{document}
An even nicer way is to write.
...
\item In this slide, we are going to use the sample example on \hyperlink{important}{\beamergotobutton{Second Page}}
...
"Second Page" would be typically be the title of the slide you referring to.