ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Can someone create this macro for me Please? (https://www.excelbanter.com/excel-discussion-misc-queries/237976-can-someone-create-macro-me-please.html)

Aussiegirlone

Can someone create this macro for me Please?
 

::In sheet called Database Column A are employee names. In column B are
employee’s ID number. ::
:: ::
::A1 of Every other sheet in workbook is linked to a cell in this
database sheet column A so that renaming sheet tabs are now quite easy.
::
:: ::
::Can someone create this macro for me Please?::
:: ::
::What I would like is a macro that if I do not put an employee name in
cell e.g. A50 in database sheet, that the sheet named “Employee 50” that
is linked to this cell in the database sheet is replaced with the ID
number in cell B50 of database sheet.::
:: ::
::Then I would like the sheet that has been renamed with the ID number
to be automatically hidden….. UNTIL ……..a name has been entered in A50
of database sheet. ::
::If a name is then entered in A50 then sheet that had been renamed to
“50” automatically becomes unhidden and is named by A50 “Employee 50” of
database::


--
Aussiegirlone
------------------------------------------------------------------------
Aussiegirlone's Profile: http://www.thecodecage.com/forumz/member.php?userid=272
View this thread: http://www.thecodecage.com/forumz/sh...d.php?t=119448


Don Guillett

Can someone create this macro for me Please?
 
If desired, send your file to my address below along with this msg and
a clear explanation of what you want and before/after examples.


--
Don Guillett
Microsoft MVP Excel
SalesAid Software

"Aussiegirlone" wrote in message
...

::In sheet called Database Column A are employee names. In column B are
employee’s ID number. ::
:: ::
::A1 of Every other sheet in workbook is linked to a cell in this
database sheet column A so that renaming sheet tabs are now quite easy.
::
:: ::
::Can someone create this macro for me Please?::
:: ::
::What I would like is a macro that if I do not put an employee name in
cell e.g. A50 in database sheet, that the sheet named “Employee 50” that
is linked to this cell in the database sheet is replaced with the ID
number in cell B50 of database sheet.::
:: ::
::Then I would like the sheet that has been renamed with the ID number
to be automatically hidden….. UNTIL ……..a name has been entered in A50
of database sheet. ::
::If a name is then entered in A50 then sheet that had been renamed to
“50” automatically becomes unhidden and is named by A50 “Employee 50” of
database::


--
Aussiegirlone
------------------------------------------------------------------------
Aussiegirlone's Profile:
http://www.thecodecage.com/forumz/member.php?userid=272
View this thread:
http://www.thecodecage.com/forumz/sh...d.php?t=119448




All times are GMT +1. The time now is 11:57 AM.

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