• Hi All

    Please note that at the Chandoo.org Forums there is Zero Tolerance to Spam

    Post Spam and you Will Be Deleted as a User

    Hui...

  • When starting a new post, to receive a quicker and more targeted answer, Please include a sample file in the initial post.

Indirect function with 001 numbers

Cruber

New Member
I am using indirect to reference sheets on a master page. Some of the sheets are named 001, 002, etc. The zeros have to stay. The function is reading them as "2" and is returning a #REF!

Question 1: How to resolve the above issue.
Question 2: Error handling for the code to protect future problems.

I realize without uploading the workbook (I can't) I will probably only receive general responses, but I will work with it. Thanks!
 
Hi,

You can also use Sheet code name instead of sheet name.

Sheet1 instead of Sheets("Sheet_test")

upload_2015-4-1_10-14-8.png
 
Back
Top