Hey all,
I have worked with VB for a few years but I am just starting to use vba with Excel.
I have a form I created thats has a text box to enter a password. I am trying to send the password to a cell in a particular sheet. In my cmdOk sub I have:
Sheets("codes_Hidden".Select Range("D3".Select
ActiveCell.Value = txtPW.Text
However, when testing this, the text does not always go to the specified cell. I think it is the "ActiveCell" syntax but not sure what else to use.
My goal is to just SEND the text to this cell, the tab will be hidden so I dont really want to go to that location.
Thanks for your help..
regards,
MDA
I have worked with VB for a few years but I am just starting to use vba with Excel.
I have a form I created thats has a text box to enter a password. I am trying to send the password to a cell in a particular sheet. In my cmdOk sub I have:
Sheets("codes_Hidden".Select Range("D3".Select
ActiveCell.Value = txtPW.Text
However, when testing this, the text does not always go to the specified cell. I think it is the "ActiveCell" syntax but not sure what else to use.
My goal is to just SEND the text to this cell, the tab will be hidden so I dont really want to go to that location.
Thanks for your help..
regards,
MDA