Quantcast
Channel: Active questions tagged excel - Stack Overflow
Viewing all articles
Browse latest Browse all 89102

Updating control value of HTML Textbox in VBA

$
0
0

I have an excel with over 100 HTML textboxes that need their control values to be updated to match cell references. I am getting a runtime error 1004, Application or object defined error.

I have tried all combinations of the below to no avail.

Interestingly, if i just do a simple code (see below), the visible value of the HTML box changes as expected, but once I click "Detail view" in the developer tab, the visible value reverts back to the control value which I can see when I open properties on the HTML textbox.

ActiveSheet.HTMLText99.Value = ActiveSheet.Cells(5, 7)

Viewing all articles
Browse latest Browse all 89102

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>