Solved Only when Excel worksheet is protected, I get a runtime error - What is wrong


blasirl

Bring Order to Chaos
Member
Local time
1:04 AM
Posts
83
OS
Windows 10 Home 10.0.22000.318 upgraded to 11 V:21H2
I am in the process of trying to create an input spreadsheet that will eventually be used to output a form similar to the System Specs sheets used here. For the most part I used dropdowns to allow for most selections. My issue at the moment is when I protect the worksheets, I get a runtime error -214702024809 (80070057), but if I unprotect it, it works fine (up to the limits of my Excel skills so far).

I think it has something to do with the ListBox ActiveX Control I am using. I tried to unprotect the button I created a number of different ways but none seemed to work. I am using (and trying to understand) some borrowed VBA code to get the dropdown of list boxes to select from. It is attributed within the code.

Any help would be appreciated.

The version of Excel I am using is pictured below.

The attached file is a macro-enabled Excel file that has been sheet protected. The password is: zx
 
Windows Build/Version
Version 21H2 (OS Build 22000.1696) as of 27MAR2023

Attachments

  • 1679954124240.png
    1679954124240.png
    7.9 KB · Views: 2
  • Vehicle Data sheet - macro enabled.zip
    41 KB · Views: 1
  • Excel Version.png
    Excel Version.png
    7.9 KB · Views: 1

My Computers

System One System Two

  • OS
    Windows 10 Home 10.0.22000.318 upgraded to 11 V:21H2
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 Convertible 15T-eb100
    CPU
    11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz 2.70 G
    Motherboard
    HP 8812 Version 55.19
    Memory
    16.0 GB (15.6 GB usable)
    Graphics Card(s)
    Intel(R) Iris(R) Xe Graphics (iRISx) - discrete graphics
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Dell
    Screen Resolution
    HP Laptop: 3840x2160, Dell external 1680x1050
    Hard Drives
    NVMe KXG60ZNV512G KIOXIA (NTFS) SSD
    external Samsung 980 PRO PCle 4.0 NVMe M.2 SSD
    (want to make this the internal drive somehow)
    PSU
    135 W Smart AC power adapter
    Case
    emerald cut
    Keyboard
    external HP USB slim KB - PH0U
    Mouse
    Logitech M510
    Internet Speed
    10.3 mbps download, 0.91mbps upload
    Browser
    Chrome Version 97.0.4692.99 (Official Build) (64-bit)
    Antivirus
    Norton 360
    Other Info
    1. Power AC input
    2. HDMI 2.0b12
    3. Audio combo jack
    4. MicroSD reader
    5. Webcam Kill Switch
    6. USB 3.2 Gen 2 Type-A
    7. USB 3.2 Gen 2 Type-C™
    8. USB 3.2 Gen 2 Type-C™ with Thunderbolt™ 312
    Synaptics Precision Touchpad
    64-bit operating system, x64-based processor
    Pen and touch support with 10 touch points w/Windows Ink installed
  • Operating System
    Windows 10 Pro 64
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360-15t Touch Convertible
    CPU
    i7
    Memory
    16GB
    Graphics card(s)
    Intel Iris - Inteli76560U Processor Intel HD Graphics 16GB
    Monitor(s) Displays
    15.6" UHD WLED Display -Touch S
    Screen Resolution
    3840x2160
    Hard Drives
    1TB PCIe(R) NVMe M.2 SSD
    Browser
    Chrome
    Antivirus
    Norton
    Other Info
    I am currently locked out of this system by Microsoft. I cannot prove ownership so I an stuck at this point

    Web Cam, Dual Mic's, Active Stylus Pen, Backlit KB
    Thunderbolt 3
    One USB-A 3.0 port, two SuperSpeed USB 10Gbps
Can anyone suggest another forum I could pose this question in?
 

My Computers

System One System Two

  • OS
    Windows 10 Home 10.0.22000.318 upgraded to 11 V:21H2
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 Convertible 15T-eb100
    CPU
    11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz 2.70 G
    Motherboard
    HP 8812 Version 55.19
    Memory
    16.0 GB (15.6 GB usable)
    Graphics Card(s)
    Intel(R) Iris(R) Xe Graphics (iRISx) - discrete graphics
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Dell
    Screen Resolution
    HP Laptop: 3840x2160, Dell external 1680x1050
    Hard Drives
    NVMe KXG60ZNV512G KIOXIA (NTFS) SSD
    external Samsung 980 PRO PCle 4.0 NVMe M.2 SSD
    (want to make this the internal drive somehow)
    PSU
    135 W Smart AC power adapter
    Case
    emerald cut
    Keyboard
    external HP USB slim KB - PH0U
    Mouse
    Logitech M510
    Internet Speed
    10.3 mbps download, 0.91mbps upload
    Browser
    Chrome Version 97.0.4692.99 (Official Build) (64-bit)
    Antivirus
    Norton 360
    Other Info
    1. Power AC input
    2. HDMI 2.0b12
    3. Audio combo jack
    4. MicroSD reader
    5. Webcam Kill Switch
    6. USB 3.2 Gen 2 Type-A
    7. USB 3.2 Gen 2 Type-C™
    8. USB 3.2 Gen 2 Type-C™ with Thunderbolt™ 312
    Synaptics Precision Touchpad
    64-bit operating system, x64-based processor
    Pen and touch support with 10 touch points w/Windows Ink installed
  • Operating System
    Windows 10 Pro 64
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360-15t Touch Convertible
    CPU
    i7
    Memory
    16GB
    Graphics card(s)
    Intel Iris - Inteli76560U Processor Intel HD Graphics 16GB
    Monitor(s) Displays
    15.6" UHD WLED Display -Touch S
    Screen Resolution
    3840x2160
    Hard Drives
    1TB PCIe(R) NVMe M.2 SSD
    Browser
    Chrome
    Antivirus
    Norton
    Other Info
    I am currently locked out of this system by Microsoft. I cannot prove ownership so I an stuck at this point

    Web Cam, Dual Mic's, Active Stylus Pen, Backlit KB
    Thunderbolt 3
    One USB-A 3.0 port, two SuperSpeed USB 10Gbps
You could try searching and, if necessary, posting in the Office section of TenForums.
Microsoft Office and 365 - TenForums
[Even though you are using Windows 11, this forum has no dedicated Office section so posting there will be better for you.]

I do urge you to make your question title more descriptive there so you attract the attention of somebody who know about creating forms in Excel.
And just state that you are using MSOffice Pro Plus 2021 instead of suggesting people read your pictures.

Best of luck,
Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447
You could try searching and, if necessary, posting in the Office section of TenForums.
Microsoft Office and 365 - TenForums
[Even though you are using Windows 11, this forum has no dedicated Office section so posting there will be better for you.]

I do urge you to make your question title more descriptive there so you attract the attention of somebody who know about creating forms in Excel.
And just state that you are using MSOffice Pro Plus 2021 instead of suggesting people read your pictures.

Best of luck,
Denis
Thanks for the suggestions. I figured as much when I initially posted here. I have been trying to get this to work for about two weeks now, at least 3 hours a day and it was getting a bit frustrating. I had received some good responses here in the past and was just hoping it might be the same again. I am a member on Tens Forum, so I will give that a try.

As for the title, any suggestions? I thought this was concise and I also ran out of space trying to add more to it.

As for the picture, I get that, but there was more info than just the title in it that I thought would help. I had also thought the pictures would be inline.
 

My Computers

System One System Two

  • OS
    Windows 10 Home 10.0.22000.318 upgraded to 11 V:21H2
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360 Convertible 15T-eb100
    CPU
    11th Gen Intel(R) Core(TM) i7-1165G7 @ 2.80GHz 2.70 G
    Motherboard
    HP 8812 Version 55.19
    Memory
    16.0 GB (15.6 GB usable)
    Graphics Card(s)
    Intel(R) Iris(R) Xe Graphics (iRISx) - discrete graphics
    Sound Card
    Realtek High Definition Audio
    Monitor(s) Displays
    Dell
    Screen Resolution
    HP Laptop: 3840x2160, Dell external 1680x1050
    Hard Drives
    NVMe KXG60ZNV512G KIOXIA (NTFS) SSD
    external Samsung 980 PRO PCle 4.0 NVMe M.2 SSD
    (want to make this the internal drive somehow)
    PSU
    135 W Smart AC power adapter
    Case
    emerald cut
    Keyboard
    external HP USB slim KB - PH0U
    Mouse
    Logitech M510
    Internet Speed
    10.3 mbps download, 0.91mbps upload
    Browser
    Chrome Version 97.0.4692.99 (Official Build) (64-bit)
    Antivirus
    Norton 360
    Other Info
    1. Power AC input
    2. HDMI 2.0b12
    3. Audio combo jack
    4. MicroSD reader
    5. Webcam Kill Switch
    6. USB 3.2 Gen 2 Type-A
    7. USB 3.2 Gen 2 Type-C™
    8. USB 3.2 Gen 2 Type-C™ with Thunderbolt™ 312
    Synaptics Precision Touchpad
    64-bit operating system, x64-based processor
    Pen and touch support with 10 touch points w/Windows Ink installed
  • Operating System
    Windows 10 Pro 64
    Computer type
    Laptop
    Manufacturer/Model
    HP Spectre x360-15t Touch Convertible
    CPU
    i7
    Memory
    16GB
    Graphics card(s)
    Intel Iris - Inteli76560U Processor Intel HD Graphics 16GB
    Monitor(s) Displays
    15.6" UHD WLED Display -Touch S
    Screen Resolution
    3840x2160
    Hard Drives
    1TB PCIe(R) NVMe M.2 SSD
    Browser
    Chrome
    Antivirus
    Norton
    Other Info
    I am currently locked out of this system by Microsoft. I cannot prove ownership so I an stuck at this point

    Web Cam, Dual Mic's, Active Stylus Pen, Backlit KB
    Thunderbolt 3
    One USB-A 3.0 port, two SuperSpeed USB 10Gbps
You could try
Runtime error with new Excel form on protected worksheet


Best of luck,
Denis
 

My Computer

System One

  • OS
    Windows 11 Home x64 Version 23H2 Build 22631.3447

Latest Support Threads

Back
Top Bottom