Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default cell size and find increment


Is there a function that controls the size of a cell? I am trying to
make a spreadsheet form in VB but the cells are too small for the
values I'm entering.

Also I'm trying to increment the cell positions after the spreadsheet
is opened, so how would I find the last entry in a column then
increment it one larger than it's previous?


--
jimbo_jones
------------------------------------------------------------------------
jimbo_jones's Profile: http://www.excelforum.com/member.php...o&userid=27244
View this thread: http://www.excelforum.com/showthread...hreadid=469273

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default cell size and find increment

Record a macro when you do:
format|column|autofit selection
and you'll see the code:

maybe something like:
range("a1").entirecolumn.autofit
or when you're done with almost everything...

worksheets("sheet1").usedrange.columns.autofit

And to get the next row in column A.

dim NextRow as long
with worksheets("sheet1")
nextrow = .cells(.rows.count,"A").end(xlup).row + 1
end with



jimbo_jones wrote:

Is there a function that controls the size of a cell? I am trying to
make a spreadsheet form in VB but the cells are too small for the
values I'm entering.

Also I'm trying to increment the cell positions after the spreadsheet
is opened, so how would I find the last entry in a column then
increment it one larger than it's previous?

--
jimbo_jones
------------------------------------------------------------------------
jimbo_jones's Profile: http://www.excelforum.com/member.php...o&userid=27244
View this thread: http://www.excelforum.com/showthread...hreadid=469273


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default cell size and find increment


Thanks Dave! Could you suggest a tutorial or link where I can learn
Excel VB at this level? Thanks


--
jimbo_jones
------------------------------------------------------------------------
jimbo_jones's Profile: http://www.excelforum.com/member.php...o&userid=27244
View this thread: http://www.excelforum.com/showthread...hreadid=469273

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default cell size and find increment

There's always books.

Debra Dalgleish has a list at her site:
http://www.contextures.com/xlbooks.html

John Walkenbach's is a nice one to start with. See if you can find them in your
local bookstore and you can choose what one you like best.

jimbo_jones wrote:

Thanks Dave! Could you suggest a tutorial or link where I can learn
Excel VB at this level? Thanks

--
jimbo_jones
------------------------------------------------------------------------
jimbo_jones's Profile: http://www.excelforum.com/member.php...o&userid=27244
View this thread: http://www.excelforum.com/showthread...hreadid=469273


--

Dave Peterson
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
Increment and replace a cell value Doc77 Excel Discussion (Misc queries) 1 January 22nd 10 06:38 PM
what is the formula to find increment ? chandra1961 Excel Discussion (Misc queries) 3 June 28th 09 05:58 PM
Increment cell reference Larry Kahm Excel Discussion (Misc queries) 1 April 8th 08 01:40 AM
Cell size? Or size limit for Text data type? CClem Excel Discussion (Misc queries) 0 April 21st 06 04:09 PM
How to find out the size of a variable-size array ? Adrian[_7_] Excel Programming 1 July 6th 04 09:12 AM


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