DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Utilities for an excel book  (Read 14,084 times)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Utilities for an excel book
« on: March 03, 2014, 12:41 PM »
I have an excel book with many sheets.
I would like to list, in the more easy way, the sheets to a txt file or similar

How can I do this ?

Best Regards
:-*

katykaty

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 224
Re: Utilities for an excel book
« Reply #1 on: March 03, 2014, 08:45 PM »
ASAP Utilities has a function to create an index sheet with named links to each worksheet. You could easily take that list, select and copy all, and paste as values.

http://www.asap-utilities.com/

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Utilities for an excel book
« Reply #2 on: March 04, 2014, 03:27 AM »
ASAP Utilities has a function to create an index sheet with named links to each worksheet. You could easily take that list, select and copy all, and paste as values.

http://www.asap-utilities.com/

Really ?
Running to try
:-*

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Utilities for an excel book
« Reply #3 on: March 05, 2014, 12:44 AM »
simply wonderful

:-*

TaoPhoenix

  • 0 - 60 ... then back to 0 again!
  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • Participated in NANY Challenge Three Times
Re: Utilities for an excel book
« Reply #4 on: March 05, 2014, 01:01 AM »
ASAP Utilities has a function to create an index sheet with named links to each worksheet. You could easily take that list, select and copy all, and paste as values.

http://www.asap-utilities.com/

Heh yep! But I don't have Excel here at home so I didn't jump in, but I recall using it at work to do a few other things!

Use attachthumb=# to show an attached image as an expandable thumbnail, or attach=# to show full size. (With Brackets)

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Re: Utilities for an excel book
« Reply #5 on: March 05, 2014, 01:14 AM »
if you don't want the overhead of a(nother) addin here's a bit of vba code that will do the same thing

Code
Sub addlinks()
Dim rowno As Integer, i As Integer
rowno = 2

Worksheets.Add before:=Sheets(1)

For i = 2 To Worksheets.Count
    Sheets(1).Hyperlinks.Add Anchor:=ActiveSheet.Cells(rowno, 2), Address:="", SubAddress:="'" & Sheets(i).Name & "'!A1", TextToDisplay:=Sheets(i).Name
    rowno = rowno + 1
Next i

End Sub
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

TaoPhoenix

  • 0 - 60 ... then back to 0 again!
  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • Participated in NANY Challenge Three Times
Re: Utilities for an excel book
« Reply #6 on: March 05, 2014, 01:43 AM »
if you don't want the overhead of a(nother) addin here's a bit of vba code that will do the same thing

Maybe, but as I begin to understand Contro, he's the kind of fella who wants a lot of cool new tricks. For him I'd recommend the Utilities because if he pokes around he might find answers to random things he hasn't asked us yet.

Use attachthumb=# to show an attached image as an expandable thumbnail, or attach=# to show full size. (With Brackets)

Target

  • Honorary Member
  • Joined in 2006
  • **
  • Posts: 1,840
    • Coding Snacks
Re: Utilities for an excel book
« Reply #7 on: March 05, 2014, 01:59 AM »
so you're heading him off at the pass? ;D ;D ;D
Alcohol is photoshop, bottled
Askhole - someone who ask for advice, then ignores it
"Look wise, say nothing, and grunt. Speech was given to conceal thought" - Sir William Osler

TaoPhoenix

  • 0 - 60 ... then back to 0 again!
  • Supporting Member
  • Joined in 2011
  • **
  • Posts: 4,642
    • Participated in NANY Challenge Three Times
Re: Utilities for an excel book
« Reply #8 on: March 05, 2014, 02:31 AM »
so you're heading him off at the pass? ;D ;D ;D

Just a little! : )

Use attachthumb=# to show an attached image as an expandable thumbnail, or attach=# to show full size. (With Brackets)

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Utilities for an excel book
« Reply #9 on: March 05, 2014, 05:29 AM »
if you don't want the overhead of a(nother) addin here's a bit of vba code that will do the same thing

Code
Sub addlinks()
Dim rowno As Integer, i As Integer
rowno = 2

Worksheets.Add before:=Sheets(1)

For i = 2 To Worksheets.Count
    Sheets(1).Hyperlinks.Add Anchor:=ActiveSheet.Cells(rowno, 2), Address:="", SubAddress:="'" & Sheets(i).Name & "'!A1", TextToDisplay:=Sheets(i).Name
    rowno = rowno + 1
Next i

End Sub

work very well.
;D

katykaty

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 224
Re: Utilities for an excel book
« Reply #10 on: March 05, 2014, 07:26 PM »
Glad it worked. :)

Now, for your next Excel project:

https://www.youtube.com/watch?v=canLENvTD8E

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Utilities for an excel book
« Reply #11 on: March 09, 2014, 12:59 AM »
Glad it worked. :)

Now, for your next Excel project:

https://www.youtube.com/watch?v=canLENvTD8E

Really wonderful and powerful. Excel getting a graphic environment like BLENDER (more or less.....)
;D

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: Utilities for an excel book
« Reply #12 on: March 09, 2014, 01:10 PM »
if he pokes around he might find answers to random things he hasn't asked us yet.

more things, he hasn't asked us yet ?!  :o

Contro

  • Supporting Member
  • Joined in 2007
  • **
  • Posts: 3,947
Re: Utilities for an excel book
« Reply #13 on: March 09, 2014, 04:22 PM »
if he pokes around he might find answers to random things he hasn't asked us yet.

more things, he hasn't asked us yet ?!  :o

Curt is right . I have assumed my ignorance. Beware of Contro  !!!!!!!!!!!!!!!!!!!
:-*

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Re: Utilities for an excel book
« Reply #14 on: March 09, 2014, 07:04 PM »
at least beware of the blender!!

AndyM

  • Charter Member
  • Joined in 2006
  • ***
  • Posts: 616
Re: Utilities for an excel book
« Reply #15 on: March 10, 2014, 11:13 PM »
if you don't want the overhead of a(nother) addin ....
... but as far as Excel goes, ASAP Utilities is not just another addin, it's the addin. ;D

Original address: https://www.donationcoder.com/forum/index.php?topic=37434.0