ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Discussion (Misc queries) (https://www.excelbanter.com/excel-discussion-misc-queries/)
-   -   Excel 2003 coding issue (https://www.excelbanter.com/excel-discussion-misc-queries/256375-excel-2003-coding-issue.html)

Neil Holden

Excel 2003 coding issue
 
I have a button, when pressed it will ask the user to select the email
address from sheet 2, the problem i'm having is if I hide columns A, B and C
it comes up with a debug error but if the columns stay visable it works?

VB highlights the following:

Set EmailAddr = Application.InputBox("Select Email Addresses, Click on the
Email Worksheet" & vbCrLf & _
"Hold down Contrl Key to select multiple addresses", Type:=8)

Please help.


All times are GMT +1. The time now is 09:17 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com