• We’re currently investigating an issue related to the forum theme and styling that is impacting page layout and visual formatting. The problem has been identified, and we are actively working on a resolution. There is no impact to user data or functionality, this is strictly a front-end display issue. We’ll post an update once the fix has been deployed. Thanks for your patience while we get this sorted.

VB Question: Excel

Tweak155

Lifer
First I will tell you my goal, then I will tell you how I tried to do it.

Goal:

To see if a worksheet with a certain name exists in a DIFFERENT workbook (i.e the worksheets are not in the SAME workbook).

Attempt:

I tried to reference the name of the worksheets using:

[BOOK]VARIABLE.Sheets(x).Name

VARIABLE is written in text

But that beginning reference seems to only work in a cell inside a sheet. What is the vb syntax? Thanks ahead of time.
 
Back
Top