Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Click here to start participating now! Also, check out the New User Guide.
Excel VBA troubleshooting
Name: razdamn Date: September 16, 2002 at 07:36:35 Pacific OS: Win 2000 CPU/Ram: 256
Comment:
hi
i am trying to write a code that differentiates between a 0 and a blankcell in an excel sheet.
the code :
Public Sub test()
If ActiveCell = "" Then MsgBox (" its blank ") If ActiveCell = 0 Then MsgBox (" its zero")
End Sub
gives me both the prompts if the activecell is blank. i tried giving an = 0 and NOT Blank, but it doesnt work.
Summary: I'm trying to save an excel spreadsheet with the filename of K&N.csv but when I try and do this from within my macro, excel crashes when the workbook is closed. I can save the file and close the workb...
Summary: I am in need of assistance of an excel vba macro that i am creating. I am calculating the Canadian dollar by multipling cell "F2" * "G2". However, I am using a loop to do this and I am having troub...
Summary: I try to write a Macro or VBA subroutine, which removes in an Excel sheet all empty (except header) columns and rows, in order to make it more readable as a report. This is probably a trivial thing, b...