Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 62
Default Skipping Blanks

Hello Again!

So i have a simple IF formula in a cell that populates the cells based on a
number in another cell from another sheet named Received

There are a lot of spaces between the values.

Is there anyway I can make it in VBA so it skips the blanks?

This is the If statement:
=IF(Received!A2=0,Received!B2,"")

Thanks!
Alex
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default Skipping Blanks

You could use any of these based on the direction you want to go-

Selection.End(xlToRight).Select
Selection.End(xlToLeft).Select
Selection.End(xlDown).Select
Selection.End(xlUp).Select

"Ewing25" wrote:

Hello Again!

So i have a simple IF formula in a cell that populates the cells based on a
number in another cell from another sheet named Received

There are a lot of spaces between the values.

Is there anyway I can make it in VBA so it skips the blanks?

This is the If statement:
=IF(Received!A2=0,Received!B2,"")

Thanks!
Alex

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
Skipping Blanks (Again) F. Lawrence Kulchar Excel Discussion (Misc queries) 3 March 7th 08 10:43 PM
Skipping Blanks F. Lawrence Kulchar Excel Discussion (Misc queries) 1 March 7th 08 11:27 AM
Loop while skipping blanks jhahes[_47_] Excel Programming 6 March 22nd 06 08:46 PM
Skipping blanks jmkona Excel Discussion (Misc queries) 2 August 27th 05 01:12 AM
Paste Special Skip Blanks not skipping blanks, but overwriting... gsrosin Excel Discussion (Misc queries) 0 February 22nd 05 03:33 AM


All times are GMT +1. The time now is 03:55 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"