User Name Password Register
DaniWeb IT Discussion Community
All
What is DaniWeb IT Discussion Community?
You're currently browsing the Visual Basic 4 / 5 / 6 section within the Software Development category of DaniWeb, a massive community of 402,663 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,257 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums

VBA Help

Join Date: Feb 2007
Location: Las Vegas
Posts: 8
Reputation: FatalGrace is an unknown quantity at this point 
Rep Power: 0
Solved Threads: 0
FatalGrace's Avatar
FatalGrace FatalGrace is offline Offline
Newbie Poster

Re: VBA Help

  #3  
Feb 12th, 2007
Posting to fix this code, I has a aixelsyd “dyslexia” moment if anyone needs to use the correct code here it is.

   
  Private Sub CommandButton1_Click()
  Rem copy cells form one sheet to another
   
  A = Workbooks("Your Workbook Name").Sheets(" Your Sheet Name").Range("F9")
   
  If (A > 0) Then Workbooks("Your Workbook Name").Sheets("Your Sheet Name").Range("B10") = Workbooks("Your Workbook Name").Sheets(" Your Sheet Name").Range("B9")
   
  End Sub
   
  

I had 10B I should have put B10

Thanks and unless you need this code disregard this post.

-Fatal Grace
Tech Support Question:
I deleted a file from my PC last week and just realized that I need it.
If I turn my system clock back two weeks, will I have my file back?
Reply With Quote  
All times are GMT -4. The time now is 3:56 am.
Forum system based on vBulletin Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
©2003 - 2008 DaniWeb® LLC