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: 1
Default New to VBA question

Ok heres the thing,

Im trying to make it so that a inputbox is prompted and the result
is entered into the worksheet. Heres my problem, i can get it to insert
onto a singlecell but i was wondering how do i make it so that it
checks the cell above it to see if its empty and if it is how do i make
it enter the result from the inputbox onto the next row?

So far ive got

Private Sub CommandButton1_Click()

'declare variables as types
Dim saveURL As String

'gets title from user
saveURL = InputBox(Prompt:="Please enter the title of the URL:", _
Title:="Enter Title of URL", Default:="(enter URL title)")

'check to see if cell is empty
[dont know how to do this]

Attachment filename: mylinks.xls
Download attachment: http://www.excelforum.com/attachment.php?postid=583983
---
Message posted from http://www.ExcelForum.com/

 
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 Macro/VB Question DDE Question MadDog22 Excel Worksheet Functions 1 March 10th 10 01:47 AM
If question jackd Excel Discussion (Misc queries) 1 January 11th 10 05:21 PM
where can I see my question and answer? Yesterday I ask a question IP Excel Discussion (Misc queries) 2 May 10th 08 04:08 PM
Newbie Question - Subtraction Formula Question [email protected] Excel Discussion (Misc queries) 3 May 5th 06 05:50 PM
The question is an excel question that I need to figure out howto do in excel. Terry Excel Worksheet Functions 3 January 23rd 06 06:22 PM


All times are GMT +1. The time now is 01:03 PM.

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"