

Sub Worksheet_Change(ByVal Target As Excel.Range) I think I am close, but I am getting an "End If without block If" error on the If Clause. If the user selects that cell again, they will get the usual pop-up message, "The cell or chart that you are trying to change is protected." If a user enters a date in a cell or range of cells anywhere in the column, the changed cells also need to be locked and protected (Once they enter a date, it is not allowed EVER to be changed again. I have named the cells in that column "MS96A". I have a worksheet that is locked and protected now, except for cells in a certain collumn. It's like the buttons are being disabled when I close or open the file.

When I reopen the file none of the buttons work. The odd thing is if I create a new button it works fine until I save and close the file. I still see the button name "cmdButtonGetInfo" and "=EMBED("Forms.CommandButton.1","") in the name box and formula bar. I can't seem to locate the command button properties any longer.

If I right-click the button in Design Mode and select Properties, I get sheet properties not the button properties. Now when I open the workbook, the buttons don't work! When I click them nothing happens. Then I saved and closed the workbook and went to lunch.
UNHIDE FIRST COLUMN IN EXCEL 2010 CODE
I added the _Click code to run the macros when the user clicked the buttons.Īll of the buttons were working fine. I got into the button properties and set the background colors. So I removed the form control buttons and created new ActiveX command buttons. I had been using the form control buttons to run macros, but the boss wanted each button to have it's own, different color. I'm having a problem in a workbook with several ActiveX command buttons.
UNHIDE FIRST COLUMN IN EXCEL 2010 PASSWORD
document.getelementbyid("fPassword").Value = " Password " document.getelementbyid("fUserName").Value = " UserName " Set appIE = CreateObject("InternetExplorer.Application") The link is: ĭim appIE As Object ' InternetExplorer.Application I highlighted another section in green that I took from a previous post hoping it would solve my problem. The code runs without errors, but doesn't actually "hit" the submit button on the webpage.įor posting, I removed my actual user name and password and and used the generic " User Name " and " Password " highlighted in blue. So far I can get everything to work besides the Submit part. I'm trying to use VBA to go to a website that requires a User Name, Password, and a Submit Button.
