Hi All,
I have the below code which I use to get some input from the user using input box when the user clicks on the cancel button it shows an error.
I tried to use below but still the user faces the error. Please help.![]()
Dim W As Long, H As Long, ws As Worksheet W = InputBox("Enter chart width", "Set Chart Width", 100) H = InputBox("Enter chart height", "Set Chart Height", 75)
Thanks a lot for your help in advance.![]()
If W = "" Then Exit Sub
![]()
Bookmarks