Two Excel Questions
#1
Registered User
Thread Starter
Join Date: Jul 2001
Location: Yorba Linda, CA
Posts: 6,592
Likes: 0
Received 0 Likes
on
0 Posts
Two Excel Questions
I have a format for an Excel workbook, but the number and names of the worksheets will change from use to use. Two questions:
1) Is there any way to automate creating the worksheets with the appropriate names? (e.g., reading from a text file)
2) Is there any way to automate creating formulas which use the worksheet names? (I'll have a summary sheet giving results for all of the worksheets together. I would like to automate the setup so it knows initially that there are 15 worksheets, say, and that it totals the bottom lines from all 15.)
Thanks!
1) Is there any way to automate creating the worksheets with the appropriate names? (e.g., reading from a text file)
2) Is there any way to automate creating formulas which use the worksheet names? (I'll have a summary sheet giving results for all of the worksheets together. I would like to automate the setup so it knows initially that there are 15 worksheets, say, and that it totals the bottom lines from all 15.)
Thanks!
#4
Registered User
Join Date: Oct 2000
Location: Culver City
Posts: 293
Likes: 0
Received 0 Likes
on
0 Posts
[QUOTE]Originally posted by magician
[B]
I tried this and the crux of the problem seems to be getting the name of a worksheet as the value of a variable in VB.
[B]
I tried this and the crux of the problem seems to be getting the name of a worksheet as the value of a variable in VB.
#5
Registered User
Thread Starter
Join Date: Jul 2001
Location: Yorba Linda, CA
Posts: 6,592
Likes: 0
Received 0 Likes
on
0 Posts
[QUOTE]Originally posted by edasaurus
[B]I'm not sure I understand your issue, but if you're trying to read in the names of the worksheets, you could do something like this:
[CODE][COLOR=darkblue]
[B]I'm not sure I understand your issue, but if you're trying to read in the names of the worksheets, you could do something like this:
[CODE][COLOR=darkblue]
Thread
Thread Starter
Forum
Replies
Last Post
DR. JEKYLL
Off-topic Talk
14
04-12-2002 05:53 PM