Macro Update Macro

  • Thread starter Thread starter pal
  • Start date Start date
P

pal

I had some macro ( Modifty Header and Footer , Add Menu , Delete
Menu )

My macro will change the footer and header, and, pre-set issuer inside
macro.

How can my macro pop-up an input-box and able to update my macro ( or
other methods ),
afterall, everytime, my user run the Macro ( Update Header and
Footer ) will get the correct issuer ?


Many Thanks
 
I'm not 100% sure what you're asking ... are you asking how to get the
user's name so that it can be included in the macro? If so, insert
this in the macro:

sub xx()
Dim stUserName as String
Dim stString as String
Dim stTitle as String
..
..
..
stString = "Please enter your name:"
stTitle = "Input required"
stUserName = InputBox(stString, stTitle)
..
..
..
End Sub


Hope that was what you were looking for ... if not, try to explain
again?

Chris
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top