PeopleSoft Adoption Made Smooth & Simple!
On-The-Job Training Is made Intuitive & Easy With WalkMe's On-Screen Guidance Tool. Claim Your Free WalkMe Account Now
Imports Excel = Microsoft.Office.Interop.Excel Public Sub WhatsMyVal() Dim xlApp As Excel.Application Dim xlWorkBook As Excel.Workbook Dim xlWorkSheet As Excel.Worksheet xlApp = New Excel.Application xlWorkBook = xlApp.Workbooks.Add(TextBox1.Text) xlWorkSheet = xlWorkBook.Sheets("sheet1") Dim myString = xlWorkSheet.Range("A1").Value.ToString MsgBox("this is myString: " & myString) End Sub
Add your voice to the tech community where 5M+ people just like you are talking about what matters.
Join the community of 500,000 technology professionals and ask your questions.