Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
QTP Professional
 
Posts: n/a
Default Compile Error in Excel 2004 when Inputbox contains "VBCRLF"


InputBox "First Line" & vbCrLf & "Secondline" 'No Error appears

Action_Id = InputBox "First Line" & vbCrLf & "Secondline" "Compliet Error
Expected End Of Statement.

Can anyone give me a work around for this isssue?

Respectfully,


Darin Duphorn
  #2   Report Post  
Posted to microsoft.public.excel.misc
Andy Pope
 
Posts: n/a
Default Compile Error in Excel 2004 when Inputbox contains "VBCRLF"

Hi,

The function requires brackets when the returned value is being assigned.

Action_Id = InputBox("First Line" & vbCrLf & "Secondline")

Cheers
Andy

QTP Professional wrote:
InputBox "First Line" & vbCrLf & "Secondline" 'No Error appears

Action_Id = InputBox "First Line" & vbCrLf & "Secondline" "Compliet Error
Expected End Of Statement.

Can anyone give me a work around for this isssue?

Respectfully,


Darin Duphorn


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Excel 2003 FAILS, but Excel 2000 SUCCEEDS ??? Richard Excel Discussion (Misc queries) 2 May 13th 23 11:46 AM
No Excel Function Wizard on Mac-Office 2004? Karen Excel Worksheet Functions 0 November 9th 05 08:10 PM
Excel Range Value issue (Excel 97 Vs Excel 2003) Keeno Excel Discussion (Misc queries) 2 June 13th 05 02:01 PM
sharing/using/saving Excel 2002 files in Excel 2003 maze2009 Excel Discussion (Misc queries) 0 January 20th 05 07:27 PM
Help with Charting My Data -- DavidM Charts and Charting in Excel 7 January 7th 05 01:08 PM


All times are GMT +1. The time now is 07:47 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"