Login | |
|
 |
RE: Renaming worksheets in Excel - 8/9/2006 1:18:22 AM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
'*** Start Excel Set oXL = CreateObject("Excel.Application") 'open Excel oXL.Sheets(1).Name = "Renamed..." 'rename first sheet
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
 |
RE: Renaming worksheets in Excel - 8/9/2006 1:40:05 AM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
What is the exact output of OuName ?
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
 |
RE: Renaming worksheets in Excel - 8/9/2006 1:56:31 AM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
ok, my thoughts next is that a script usually runs quicker than the application runs... So...if you would have a pause between the creation of another sheet and the renaming of taht sheet...how would that go... PS. i understood that it held a name, i was more interested in an example, the OUname could have unsupported characters in it....
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
 |
RE: Renaming worksheets in Excel - 8/9/2006 2:56:03 AM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
2morrow @ work i will give it another try (have more scripts there)
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
 |
RE: Renaming worksheets in Excel - 8/11/2006 12:05:34 AM
|
|
 |
|
| |
Snipah
Posts: 1343
Score: 6
Joined: 11/1/2004
From: Netherlands
Status: offline
|
is your current script updated on the above link? or else post it here....(easier) and let us use your script an try it out...and come back with 'better' alernatives
_____________________________
For more information, please see the "Read me First" topic. http://www.visualbasicscript.com
|
|
| |
|
|
|
|
|