Hi guys, is there a way to get worksheet names from a close workbook? thanks for any help.
cguan_77
8
Nearly a Posting Virtuoso
Recommended Answers
Jump to PostI presume you mean an Excel Workbook/Worksheet. As far as I know you have to open it first but you can do that easily with the following function
Private Function GetWorkSheetNames(ByVal ExcelFile As String) As String() Dim names As String = "" Dim xls As New Excel.Application …
All 2 Replies
Reverend Jim
4,780
Hi, I'm Jim, one of DaniWeb's moderators.
Moderator
Featured Poster
cguan_77
commented:
Thanks.
+8
cguan_77
8
Nearly a Posting Virtuoso
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.