View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.programming
Sheldon Sheldon is offline
external usenet poster
 
Posts: 51
Default #if-then-#elseif-#endif

In the following code outline, I need to make a call to a DLL.
Question 1: Where would this code go:
Question 2: In the Declare statement can I alias both api call with the
same name and just use the one alias name in the execution?

' If Mac evaluates as true, do the statements following the #If.
#If Mac Then
'. Place exclusively Mac statements here.
'.
'.
' Otherwise, if it is a 32-bit Windows program, do this:
#ElseIf Win32 Then
'. Place exclusively 32-bit Windows statements here.
'.
'.
' Otherwise, if it is a 32-bit Windows program, do this:
#Else Win16 then
'. Place exclusively 32-bit Windows statements here
'.
'.
#End If


Thanks