LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11
Default convert this to Excel vba

Hi All,

I have this Access2007 IIF code that runs on the criteria line of a query and I'm looking to convert it to an Excel 2007 macro/vba but I'm not good at vba in Excel. I can't get to using cell references and moving to the next row/cell. Any help is greatly appreciated.
bobh.

IIf(IsNull([tblBS_RBRVS_FEES]![MOD]),"0" & [tblBS_RBRVS_FEES]![HCPCS],IIf([tblBS_RBRVS_FEES]![MOD]="26","0" & [tblBS_RBRVS_FEES]![HCPCS],IIf([tblBS_RBRVS_FEES]![MOD]="tc","K" & [tblBS_RBRVS_FEES]![HCPCS],[tblBS_RBRVS_FEES]![6Digit])))
 
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 2007 convert one sheet into multiples sheets (for excel 2003Compatibility) [email protected] Excel Programming 2 July 17th 09 10:33 AM
can the "convert" function in excel convert to UK gallons? JR Excel Discussion (Misc queries) 2 April 24th 08 04:55 PM
Convert Columns of Sensitive Information, and then convert back... William Elerding Excel Programming 1 October 12th 06 09:37 PM
convert decimal number to time : convert 1,59 (minutes, dec) to m agenda9533 Excel Discussion (Misc queries) 8 January 20th 05 10:24 PM


All times are GMT +1. The time now is 01:45 AM.

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

About Us

"It's about Microsoft Excel"