ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Reset workbook counter to "0" (https://www.excelbanter.com/excel-programming/371018-reset-workbook-counter-0-a.html)

Ricardo

Reset workbook counter to "0"
 
I am running macro which creates multiple workbooks. I wnat to reset my
workbook counter, without closing and re-opening Excel. Is there VB script to
include in my macro to do this?

Bob Phillips

Reset workbook counter to "0"
 
What workbook counter?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Ricardo" wrote in message
...
I am running macro which creates multiple workbooks. I wnat to reset my
workbook counter, without closing and re-opening Excel. Is there VB script

to
include in my macro to do this?




Die_Another_Day

Reset workbook counter to "0"
 
I'm guessing he means the one that controls the WB name (Book1, Book2,
Book3, etc..) Can this even be done?

Charles
Bob Phillips wrote:
What workbook counter?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Ricardo" wrote in message
...
I am running macro which creates multiple workbooks. I wnat to reset my
workbook counter, without closing and re-opening Excel. Is there VB script

to
include in my macro to do this?



Ricardo

Reset workbook counter to "0"
 
Yes Bob and D-A-D The workbook counter that Excel defaults to use when you
start it up. I need to be able to reset back to Book1.xls, but I don't want
to close Excel and have to re-open it. Thanks much!

"Bob Phillips" wrote:

What workbook counter?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Ricardo" wrote in message
...
I am running macro which creates multiple workbooks. I wnat to reset my
workbook counter, without closing and re-opening Excel. Is there VB script

to
include in my macro to do this?





Bob Phillips

Reset workbook counter to "0"
 
I don't think that that is possible.

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Ricardo" wrote in message
...
Yes Bob and D-A-D The workbook counter that Excel defaults to use when

you
start it up. I need to be able to reset back to Book1.xls, but I don't

want
to close Excel and have to re-open it. Thanks much!

"Bob Phillips" wrote:

What workbook counter?

--
HTH

Bob Phillips

(replace somewhere in email address with gmail if mailing direct)

"Ricardo" wrote in message
...
I am running macro which creates multiple workbooks. I wnat to reset

my
workbook counter, without closing and re-opening Excel. Is there VB

script
to
include in my macro to do this?








All times are GMT +1. The time now is 08:06 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com